summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs b/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs
index 939a1f1ca..e2db7d03a 100644
--- a/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs
+++ b/compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs
@@ -64,7 +64,7 @@ fn main() {
};
#[cfg(unix)]
- Command::new("cargo").args(args).exec();
+ panic!("Failed to spawn cargo: {}", Command::new("cargo").args(args).exec());
#[cfg(not(unix))]
std::process::exit(