authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-03-26 01:11:58+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-03-26 05:50:51+01:00
loga216c74131c439d7aa64b7a2a6be95aa753adb65
tree6d73f4ca9ec7be47c2a2dbf7188a101bbf7eae56
parentcef16b5130eae56a77262df532aae5a458736670
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: partial revert of ac793232eeeca87378b6b6cf4bec6e610859b5b1

This is just obviously wrong?! I'm fairly certain I didn't intend to push that commit in that state.

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

test/tests.zig-11
......@@ -2370,17 +2370,6 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
23702370 const resolved_target = b.resolveTargetQuery(test_target.target);
23712371 const target = &resolved_target.result;
23722372
2373 if (test_target.link_libc == false and target.requiresLibC()) continue;
2374 // If the target requires libc, there's no point building the cases that
2375 // don't explicitly link libc as they'll just end up actually linking
2376 // libc anyway, thus creating duplicate work and making -Dskip-libc not
2377 // work as expected.
2378 if (test_target.link_libc == null and target.requiresLibC()) continue;
2379 // These targets don't strictly require libc, but we don't yet have a
2380 // syscall layer for them, so the compiler links libc by default. They
2381 // therefore get the same treatment here.
2382 if (test_target.link_libc == null and (target.os.tag == .freebsd or target.os.tag == .netbsd or target.os.tag == .openbsd)) continue;
2383
23842373 if (!options.test_extra_targets and test_target.extra_target) continue;
23852374
23862375 if (options.skip_non_native and !test_target.target.isNative())