commit fb99808008f2ad67122b26c0ad31ca6a0c2456cc (tree)
parent eecb669074f7798975366ac834ae25fa185f05fa
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 16 Nov 2021 12:44:44 -0700
tests: disable LTO for windows until issues can be resolved
See #8531
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/standalone/c_compiler/build.zig b/test/standalone/c_compiler/build.zig
@@ -32,6 +32,10 @@ pub fn build(b: *Builder) void {
exe_cpp.linkSystemLibrary("c++");
switch (target.getOsTag()) {
+ .windows => {
+ // https://github.com/ziglang/zig/issues/8531
+ exe_cpp.want_lto = false;
+ },
.macos => {
// https://github.com/ziglang/zig/issues/8680
exe_cpp.want_lto = false;