authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-29 15:32:56+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-29 15:35:30+02:00
log7cae6b8fa78a75b62c5e2a69afda95b3c3824a5b
tree03332bdf4674ba2ef29951b333a7fa60718377b8
parentc8ea81bf96e9acae0a2f627e354a92af575008d9
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Skip *-windows-msvc + libc module tests on non-Windows.

We can't provide MSVC libc when cross-compiling (yet?).

1 files changed, 4 insertions(+), 0 deletions(-)

test/tests.zig+4
......@@ -1772,6 +1772,10 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
17721772 if (options.skip_libc and test_target.link_libc == true)
17731773 continue;
17741774
1775 // We can't provide MSVC libc when cross-compiling.
1776 if (target.abi == .msvc and test_target.link_libc == true and builtin.os.tag != .windows)
1777 continue;
1778
17751779 if (options.skip_single_threaded and test_target.single_threaded == true)
17761780 continue;
17771781