diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-07-25 21:09:17 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-26 11:07:11 -0700 |
| commit | a707f380a5f54b70ee7664708d83c9002de6644d (patch) | |
| tree | fc8a7aa3b0c50566c50360256d590539bbf72439 /test/tests.zig | |
| parent | f821543e4b5e44b2ca3217c189272105fc3effb9 (diff) | |
| download | zig-a707f380a5f54b70ee7664708d83c9002de6644d.tar.gz zig-a707f380a5f54b70ee7664708d83c9002de6644d.zip | |
llvm: disable LTO on C ABI tests
This required disabling some failing tests. See #14908
Diffstat (limited to 'test/tests.zig')
| -rw-r--r-- | test/tests.zig | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/tests.zig b/test/tests.zig index b73b5f0519..b76f7baf84 100644 --- a/test/tests.zig +++ b/test/tests.zig @@ -1133,12 +1133,9 @@ pub fn addCAbiTests(b: *std.Build, skip_non_native: bool, skip_release: bool) *S test_step.linkLibC(); test_step.addCSourceFile("test/c_abi/cfuncs.c", &.{"-std=c99"}); - // test-c-abi should test both with LTO on and with LTO off. Only - // some combinations are passing currently: - // https://github.com/ziglang/zig/issues/14908 - if (c_abi_target.isWindows()) { - test_step.want_lto = false; - } + // This test is intentionally trying to check if the external ABI is + // done properly. LTO would be a hindrance to this. + test_step.want_lto = false; const run = b.addRunArtifact(test_step); run.skip_foreign_checks = true; |
