Auto merge of #45908 - alexcrichton:disable-thinlto-libtest, r=Mark-Simulacrum

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
This commit is contained in:
bors 2017-11-12 18:06:46 +00:00
commit fb5ba4ef90

View File

@ -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)
{