mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
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:
commit
fb5ba4ef90
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user