about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXimin Luo <infinity0@pwned.gg>2020-07-27 22:06:04 +0100
committerXimin Luo <infinity0@pwned.gg>2020-07-27 22:06:04 +0100
commit84896c7f096c38d43e020612e639e5975aee7f34 (patch)
tree40551cdb94155cf9656c0f73a4d239de55cc749f
parentefc02b03d18b0cbaa55b1e421d792f70a39230b2 (diff)
downloadrust-84896c7f096c38d43e020612e639e5975aee7f34.tar.gz
rust-84896c7f096c38d43e020612e639e5975aee7f34.zip
rustbuild: use Display for exit status instead of Debug, see #74832 for justification
-rw-r--r--src/bootstrap/bin/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index af75faf698e..9bb6dbc448d 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -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);
     }