Commit 5c6adbeb39

Andrew Kelley <andrew@ziglang.org>
2023-03-15 05:02:52
test-c-abi: disable LTO on more targets
1 parent 21b544a
Changed files (1)
test/tests.zig
@@ -1043,7 +1043,7 @@ pub fn addCAbiTests(b: *std.Build, skip_non_native: bool, skip_release: bool) *S
             // 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() and (c_abi_target.getCpuArch() == .x86 or builtin.target.os.tag == .linux)) {
+            if (c_abi_target.isWindows()) {
                 test_step.want_lto = false;
             }