From f6cc9ee7ad2ddc22ef768befc880411964d2d9ed Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 10 Nov 2017 01:39:07 -0800 Subject: [PATCH] rustbuild: Disable ThinLTO for libtest Right now ThinLTO is generating bad dwarf which is tracked by #45511, but this is causing issues on OSX (#45768) where `dsymutil` is segfaulting and failing to produce output. Closes #45768 --- src/bootstrap/builder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index bb3d9dc3f33b1..3b2645635f161 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -624,6 +624,7 @@ impl<'a> Builder<'a> { } if mode != Mode::Libstd && // FIXME(#45320) + mode != Mode::Libtest && // FIXME(#45511) self.config.rust_codegen_units.is_none() && self.build.is_rust_llvm(compiler.host) && !target.contains("mips") // FIXME(#45654)