commit 7d14baec900efbbbae0ae25da79f976716241ec0 (tree)
parent 3c1fc3f566b4a0c4493187c7f07b5c401a3e3a1b
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 31 Jan 2023 15:00:26 -0700
tests: fix missing target for C ABI tests
This regressed earlier in this branch.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/tests.zig b/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