We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31628d commit 0a1fde9Copy full SHA for 0a1fde9
src/bootstrap/lib.rs
@@ -461,7 +461,7 @@ impl Build {
461
.parent()
462
.unwrap()
463
.to_path_buf();
464
- if !bootstrap_out.join("rustc").exists() && !cfg!(test) {
+ 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`")
467
}
0 commit comments