From 67e33bf9bc6591ceb1774bbc3165764bef89b231 Mon Sep 17 00:00:00 2001 From: eyun <50322174+eyun-tv@users.noreply.github.com> Date: Sat, 19 Feb 2022 21:22:33 +0800 Subject: [PATCH] checker: make public the valid_comptime_if_os list (#13518) --- vlib/v/checker/checker.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/checker/checker.v b/vlib/v/checker/checker.v index 2c4abae54e..13fa9dda83 100644 --- a/vlib/v/checker/checker.v +++ b/vlib/v/checker/checker.v @@ -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']