Skip to content

Commit 84896c7

Browse files
committed
rustbuild: use Display for exit status instead of Debug, see rust-lang#74832 for justification
1 parent efc02b0 commit 84896c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/bin/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn main() {
152152
Ok(s) if s.success() => std::process::exit(0),
153153
e => e,
154154
};
155-
println!("\nDid not run successfully: {:?}\n{:?}\n-------------", e, cmd);
155+
println!("\nDid not run successfully: {}\n{:?}\n-------------", e, cmd);
156156
status_code(&mut on_fail).expect("could not run the backup command");
157157
std::process::exit(1);
158158
}

0 commit comments

Comments
 (0)