Commit fb99808008

Andrew Kelley <andrew@ziglang.org>
2021-11-16 20:44:44
tests: disable LTO for windows until issues can be resolved
See #8531
1 parent eecb669
Changed files (1)
test
standalone
c_compiler
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;