Skip to content

Commit

Permalink
rustbuild: use Display for exit status instead of Debug, see rust-lan…
Browse files Browse the repository at this point in the history
…g#74832 for justification
  • Loading branch information
infinity0 committed Jul 27, 2020
1 parent efc02b0 commit 84896c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/bin/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fn main() {
Ok(s) if s.success() => std::process::exit(0),
e => e,
};
println!("\nDid not run successfully: {:?}\n{:?}\n-------------", e, cmd);
println!("\nDid not run successfully: {}\n{:?}\n-------------", e, cmd);
status_code(&mut on_fail).expect("could not run the backup command");
std::process::exit(1);
}
Expand Down

0 comments on commit 84896c7

Please sign in to comment.