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:
Alex Rønne Petersen 2025-05-29 15:32:56 +02:00
parent c8ea81bf96
commit 7cae6b8fa7
No known key found for this signature in database

View File

@ -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;