Skip to content

Commit fb5ba4e

Browse files
committed
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
2 parents 3d2dc6e + f6cc9ee commit fb5ba4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ impl<'a> Builder<'a> {
624624
}
625625

626626
if mode != Mode::Libstd && // FIXME(#45320)
627+
mode != Mode::Libtest && // FIXME(#45511)
627628
self.config.rust_codegen_units.is_none() &&
628629
self.build.is_rust_llvm(compiler.host)
629630
{

0 commit comments

Comments
 (0)