ci: fix tests-sanitize-undefined-gcc job

pull/10029/head
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
1 changed files with 1 additions and 1 deletions

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 }