mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
test: Skip *-windows-msvc + libc module tests on non-Windows.
We can't provide MSVC libc when cross-compiling (yet?).
This commit is contained in:
parent
c8ea81bf96
commit
7cae6b8fa7
@ -1772,6 +1772,10 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
||||
if (options.skip_libc and test_target.link_libc == true)
|
||||
continue;
|
||||
|
||||
// We can't provide MSVC libc when cross-compiling.
|
||||
if (target.abi == .msvc and test_target.link_libc == true and builtin.os.tag != .windows)
|
||||
continue;
|
||||
|
||||
if (options.skip_single_threaded and test_target.single_threaded == true)
|
||||
continue;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user