Skip to content

Commit b21674f

Browse files
committed
remove unused code
1 parent c6ea362 commit b21674f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/bin/rustc.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ fn main() {
9797
// This... is a bit of a hack how we detect this. Ideally this
9898
// information should be encoded in the crate I guess? Would likely
9999
// require an RFC amendment to RFC 1513, however.
100-
if crate_name == Some("panic_abort")
101-
|| crate_name == Some("compiler_builtins") && stage != "0"
102-
{
100+
if crate_name == Some("panic_abort") {
103101
cmd.arg("-C").arg("panic=abort");
104102
}
105103

0 commit comments

Comments
 (0)