1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix tests-sanitize-undefined-gcc job

This commit is contained in:
Delyan Angelov 2021-05-06 15:15:35 +03:00
parent adffae4453
commit 483068f071
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -5,7 +5,7 @@ import v.util
import v.gen.native import v.gen.native
pub fn (mut b Builder) build_native(v_files []string, out_file string) { pub fn (mut b Builder) build_native(v_files []string, out_file string) {
if b.pref.os != .linux || b.pref.os != .macos { if b.pref.os !in [.linux, .macos] {
eprintln('Warning: v -native can only generate macOS and Linux binaries for now') eprintln('Warning: v -native can only generate macOS and Linux binaries for now')
} }
b.front_and_middle_stages(v_files) or { return } b.front_and_middle_stages(v_files) or { return }