We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e9eee6 + b21674f commit 5ac7e08Copy full SHA for 5ac7e08
src/bootstrap/bin/rustc.rs
@@ -97,13 +97,7 @@ fn main() {
97
// This... is a bit of a hack how we detect this. Ideally this
98
// information should be encoded in the crate I guess? Would likely
99
// require an RFC amendment to RFC 1513, however.
100
- //
101
- // `compiler_builtins` are unconditionally compiled with panic=abort to
102
- // workaround undefined references to `rust_eh_unwind_resume` generated
103
- // otherwise, see issue https://github.com/rust-lang/rust/issues/43095.
104
- if crate_name == Some("panic_abort")
105
- || crate_name == Some("compiler_builtins") && stage != "0"
106
- {
+ if crate_name == Some("panic_abort") {
107
cmd.arg("-C").arg("panic=abort");
108
}
109
0 commit comments