@@ -280,7 +280,7 @@ impl Step for CodegenBackend {
280280} 
281281
282282macro_rules!  tool_check_step { 
283-     ( $name: ident,  $path: expr ,  $source_type: expr )  => { 
283+     ( $name: ident,  $path: literal ,  $( $alias : literal ,   ) *  $ source_type: path )  => { 
284284        #[ derive( Debug ,  Copy ,  Clone ,  PartialEq ,  Eq ,  Hash ) ] 
285285        pub  struct  $name { 
286286            pub  target:  TargetSelection , 
@@ -292,7 +292,7 @@ macro_rules! tool_check_step {
292292            const  DEFAULT :  bool  = true ; 
293293
294294            fn  should_run( run:  ShouldRun <' _>)  -> ShouldRun <' _> { 
295-                 run. path ( $path) 
295+                 run. paths ( & [   $path,  $ ( $alias ) , *   ] ) 
296296            } 
297297
298298            fn  make_run( run:  RunConfig <' _>)  { 
@@ -363,7 +363,7 @@ macro_rules! tool_check_step {
363363    } ; 
364364} 
365365
366- tool_check_step ! ( Rustdoc ,  "src/tools/rustdoc" ,  SourceType :: InTree ) ; 
366+ tool_check_step ! ( Rustdoc ,  "src/tools/rustdoc" ,  "src/librustdoc" ,   SourceType :: InTree ) ; 
367367// Clippy is a hybrid. It is an external tool, but uses a git subtree instead 
368368// of a submodule. Since the SourceType only drives the deny-warnings 
369369// behavior, treat it as in-tree so that any new warnings in clippy will be 
0 commit comments