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 a3bb170 commit b0b4f4aCopy full SHA for b0b4f4a
src/bootstrap/src/core/builder.rs
@@ -414,6 +414,15 @@ impl StepDescription {
414
.map(|desc| (desc.should_run)(ShouldRun::new(builder, desc.kind)))
415
.collect::<Vec<_>>();
416
417
+ if builder.download_rustc() && (builder.kind == Kind::Dist || builder.kind == Kind::Install)
418
+ {
419
+ eprintln!(
420
+ "ERROR: '{}' subcommand is incompatible with `rust.download-rustc`.",
421
+ builder.kind.as_str()
422
+ );
423
+ crate::exit!(1);
424
+ }
425
+
426
// sanity checks on rules
427
for (desc, should_run) in v.iter().zip(&should_runs) {
428
assert!(
0 commit comments