File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ struct Build {
377
377
configure_args : Option < Vec < String > > ,
378
378
local_rebuild : Option < bool > ,
379
379
print_step_timings : Option < bool > ,
380
+ check_stage : Option < u32 > ,
380
381
doc_stage : Option < u32 > ,
381
382
build_stage : Option < u32 > ,
382
383
test_stage : Option < u32 > ,
@@ -676,6 +677,7 @@ impl Config {
676
677
677
678
// See https://github.com/rust-lang/compiler-team/issues/326
678
679
config. stage = match config. cmd {
680
+ Subcommand :: Check { .. } => flags. stage . or ( build. check_stage ) . unwrap_or ( 0 ) ,
679
681
Subcommand :: Doc { .. } => flags. stage . or ( build. doc_stage ) . unwrap_or ( 0 ) ,
680
682
Subcommand :: Build { .. } => flags. stage . or ( build. build_stage ) . unwrap_or ( 1 ) ,
681
683
Subcommand :: Test { .. } => flags. stage . or ( build. test_stage ) . unwrap_or ( 1 ) ,
@@ -685,7 +687,6 @@ impl Config {
685
687
// These are all bootstrap tools, which don't depend on the compiler.
686
688
// The stage we pass shouldn't matter, but use 0 just in case.
687
689
Subcommand :: Clean { .. }
688
- | Subcommand :: Check { .. }
689
690
| Subcommand :: Clippy { .. }
690
691
| Subcommand :: Fix { .. }
691
692
| Subcommand :: Run { .. }
You can’t perform that action at this time.
0 commit comments