mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
tests: fix skip_cross_glibc check
Native targets are, by definition, not cross-compiling targets.
This commit is contained in:
parent
7e0c6d7edc
commit
4df87b40fd
@ -929,7 +929,8 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
||||
if (options.skip_non_native and !is_native)
|
||||
continue;
|
||||
|
||||
if (options.skip_cross_glibc and test_target.target.isGnuLibC() and test_target.link_libc == true)
|
||||
if (options.skip_cross_glibc and !test_target.target.isNative() and
|
||||
test_target.target.isGnuLibC() and test_target.link_libc == true)
|
||||
continue;
|
||||
|
||||
if (options.skip_libc and test_target.link_libc == true)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user