checker: make public the valid_comptime_if_os list (#13518)

pull/13530/head
eyun 2022-02-19 21:22:33 +08:00 committed by GitHub
parent 2b974cdb97
commit 67e33bf9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const stmt_level_cutoff_limit = 40
const iface_level_cutoff_limit = 100
const (
pub const (
valid_comptime_if_os = ['windows', 'ios', 'macos', 'mach', 'darwin', 'hpux', 'gnu',
'qnx', 'linux', 'freebsd', 'openbsd', 'netbsd', 'bsd', 'dragonfly', 'android', 'solaris',
'haiku', 'serenity', 'vinix']