This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ struct Build {
377377 configure_args : Option < Vec < String > > ,
378378 local_rebuild : Option < bool > ,
379379 print_step_timings : Option < bool > ,
380+ check_stage : Option < u32 > ,
380381 doc_stage : Option < u32 > ,
381382 build_stage : Option < u32 > ,
382383 test_stage : Option < u32 > ,
@@ -676,6 +677,7 @@ impl Config {
676677
677678 // See https://github.com/rust-lang/compiler-team/issues/326
678679 config. stage = match config. cmd {
680+ Subcommand :: Check { .. } => flags. stage . or ( build. check_stage ) . unwrap_or ( 0 ) ,
679681 Subcommand :: Doc { .. } => flags. stage . or ( build. doc_stage ) . unwrap_or ( 0 ) ,
680682 Subcommand :: Build { .. } => flags. stage . or ( build. build_stage ) . unwrap_or ( 1 ) ,
681683 Subcommand :: Test { .. } => flags. stage . or ( build. test_stage ) . unwrap_or ( 1 ) ,
@@ -685,7 +687,6 @@ impl Config {
685687 // These are all bootstrap tools, which don't depend on the compiler.
686688 // The stage we pass shouldn't matter, but use 0 just in case.
687689 Subcommand :: Clean { .. }
688- | Subcommand :: Check { .. }
689690 | Subcommand :: Clippy { .. }
690691 | Subcommand :: Fix { .. }
691692 | Subcommand :: Run { .. }
You can’t perform that action at this time.
0 commit comments