Skip to content

Commit f6cc9ee

Browse files
committed
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
1 parent d5ff0e6 commit f6cc9ee

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
!target.contains("mips") // FIXME(#45654)

0 commit comments

Comments
 (0)