aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-07-28 12:48:01 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-07-28 19:27:08 -0400
commit125b453c58b6d94a628c94d46e5038e06183c54c (patch)
tree1e07b37d54cb62761003c937d8a937fdf90b7186 /test/tests.zig
parentc80609dfecb57a3830583eeeb3e0fce5860d657b (diff)
downloadzig-125b453c58b6d94a628c94d46e5038e06183c54c.tar.gz
zig-125b453c58b6d94a628c94d46e5038e06183c54c.zip
llvm: fix SysV C abi for structs smaller than two eightbytes
Closes #16038 Closes #16288
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tests.zig b/test/tests.zig
index b76f7baf84..bba1b00142 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -1102,7 +1102,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
pub fn addCAbiTests(b: *std.Build, skip_non_native: bool, skip_release: bool) *Step {
const step = b.step("test-c-abi", "Run the C ABI tests");
- const optimize_modes: [2]OptimizeMode = .{ .Debug, .ReleaseFast };
+ const optimize_modes: [3]OptimizeMode = .{ .Debug, .ReleaseSafe, .ReleaseFast };
for (optimize_modes) |optimize_mode| {
if (optimize_mode != .Debug and skip_release) continue;