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.
x check
1 parent 756348a commit 7cfa94bCopy full SHA for 7cfa94b
src/bootstrap/src/core/config/config.rs
@@ -2531,7 +2531,10 @@ impl Config {
2531
|| bench_stage.is_some();
2532
// See https://github.com/rust-lang/compiler-team/issues/326
2533
config.stage = match config.cmd {
2534
- Subcommand::Check { .. } | Subcommand::Clippy { .. } | Subcommand::Fix => {
+ Subcommand::Check { .. } => {
2535
+ flags.stage.or(check_stage).unwrap_or(0)
2536
+ }
2537
+ Subcommand::Clippy { .. } | Subcommand::Fix => {
2538
flags.stage.or(check_stage).unwrap_or(1)
2539
}
2540
// `download-rustc` only has a speed-up for stage2 builds. Default to stage2 unless explicitly overridden.
0 commit comments