Commit 7d14baec90

Andrew Kelley <andrew@ziglang.org>
2023-01-31 23:00:26
tests: fix missing target for C ABI tests
This regressed earlier in this branch.
1 parent 3c1fc3f
Changed files (1)
test/tests.zig
@@ -1360,6 +1360,7 @@ pub fn addCAbiTests(b: *std.Build, skip_non_native: bool, skip_release: bool) *S
         const test_step = b.addTest(.{
             .root_source_file = .{ .path = "test/c_abi/main.zig" },
             .optimize = optimize_mode,
+            .target = c_abi_target,
         });
         if (c_abi_target.abi != null and c_abi_target.abi.?.isMusl()) {
             // TODO NativeTargetInfo insists on dynamically linking musl