@@ -280,7 +280,7 @@ impl Step for CodegenBackend {
280280}
281281
282282macro_rules! tool_check_step {
283- ( $name: ident, $path: literal, $( $alias: literal, ) * $source_type: path) => {
283+ ( $name: ident, $path: literal, $( $alias: literal, ) * $source_type: path $ ( , $default : literal ) ? ) => {
284284 #[ derive( Debug , Copy , Clone , PartialEq , Eq , Hash ) ]
285285 pub struct $name {
286286 pub target: TargetSelection ,
@@ -289,7 +289,7 @@ macro_rules! tool_check_step {
289289 impl Step for $name {
290290 type Output = ( ) ;
291291 const ONLY_HOSTS : bool = true ;
292- const DEFAULT : bool = true ;
292+ const DEFAULT : bool = true $ ( && $default ) ? ;
293293
294294 fn should_run( run: ShouldRun <' _>) -> ShouldRun <' _> {
295295 run. paths( & [ $path, $( $alias) ,* ] )
@@ -368,7 +368,7 @@ tool_check_step!(Rustdoc, "src/tools/rustdoc", "src/librustdoc", SourceType::InT
368368// rejected.
369369tool_check_step ! ( Clippy , "src/tools/clippy" , SourceType :: InTree ) ;
370370
371- tool_check_step ! ( Bootstrap , "src/bootstrap" , SourceType :: InTree ) ;
371+ tool_check_step ! ( Bootstrap , "src/bootstrap" , SourceType :: InTree , false ) ;
372372
373373/// Cargo's output path for the standard library in a given stage, compiled
374374/// by a particular compiler for the specified target.
0 commit comments