We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a1fde9 commit 0bb4e25Copy full SHA for 0bb4e25
src/bootstrap/lib.rs
@@ -463,7 +463,10 @@ impl Build {
463
.to_path_buf();
464
if !bootstrap_out.join(exe("rustc", config.build)).exists() && !cfg!(test) {
465
// this restriction can be lifted whenever https://github.com/rust-lang/rfcs/pull/3028 is implemented
466
- panic!("run `cargo build --bins` before `cargo run`")
+ panic!(
467
+ "`rustc` not found in {}, run `cargo build --bins` before `cargo run`",
468
+ bootstrap_out.display()
469
+ )
470
}
471
472
let mut build = Build {
0 commit comments