aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-01-31 15:00:26 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-01-31 15:09:35 -0700
commit7d14baec900efbbbae0ae25da79f976716241ec0 (patch)
tree76cb25da62a471e899a36f8d8d966083d852d14b /test
parent3c1fc3f566b4a0c4493187c7f07b5c401a3e3a1b (diff)
downloadzig-7d14baec900efbbbae0ae25da79f976716241ec0.tar.gz
zig-7d14baec900efbbbae0ae25da79f976716241ec0.zip
tests: fix missing target for C ABI tests
This regressed earlier in this branch.
Diffstat (limited to 'test')
-rw-r--r--test/tests.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig
index 0f36c8eb94..94030ce851 100644
--- 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