-Zpanic-in-drop=abort for rustc + tools #89269
Labels
I-compiletime
Issue: Problems and improvements with respect to compile times.
WG-compiler-performance
Working group: Compiler Performance
This flag was added in #88759 and showed good performance and code size benefits for rustc. It would be nice to see if we can land those benefits, both to get some experience with aborting instead of unwinding panics in destructors (e.g., what goes wrong? any painful patterns?) and to carry forward those performance and size wins.
This flag is currently restricted to being the same across the whole crate graph though, which means we'd not be able to do this for rustc only since it would also affect std's destructors (which would be a user-visible change we don't want). Opening this issue to see if there's a way we can work around this.
The text was updated successfully, but these errors were encountered: