mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 08:45:52 +00:00
test-c-abi: disable LTO on more targets
This commit is contained in:
parent
21b544a90a
commit
5c6adbeb39
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user