We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6ea362 commit b21674fCopy full SHA for b21674f
src/bootstrap/bin/rustc.rs
@@ -97,9 +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
- if crate_name == Some("panic_abort")
101
- || crate_name == Some("compiler_builtins") && stage != "0"
102
- {
+ if crate_name == Some("panic_abort") {
103
cmd.arg("-C").arg("panic=abort");
104
}
105
0 commit comments