@@ -237,6 +237,7 @@ pub fn prepare_tool_cargo(
237237 || path. ends_with ( "clippy" )
238238 || path. ends_with ( "miri" )
239239 || path. ends_with ( "rustfmt" )
240+ || path. ends_with ( "semverver" )
240241 {
241242 cargo. env ( "LIBZ_SYS_STATIC" , "1" ) ;
242243 features. push ( "rustc-workspace-hack/all-static" . to_string ( ) ) ;
@@ -604,6 +605,7 @@ macro_rules! tool_extended {
604605 |tools| {
605606 tools. iter( ) . any( |tool| match tool. as_ref( ) {
606607 "clippy" => $tool_name == "clippy-driver" ,
608+ "semverver" => $tool_name == "rust-semverver" ,
607609 x => $tool_name == x,
608610 } )
609611 } ) ,
@@ -659,6 +661,11 @@ tool_extended!((self, builder),
659661 } ;
660662 Rustfmt , rustfmt, "src/tools/rustfmt" , "rustfmt" , stable=true , { } ;
661663 RustAnalyzer , rust_analyzer, "src/tools/rust-analyzer/crates/rust-analyzer" , "rust-analyzer" , stable=false , { } ;
664+ // FIXME(eddyb) use `in_tree=true` for semverver, when Cargo can build
665+ // with deny-warnings + `-Wrust_2018_idioms` (which it can't today).
666+ CargoSemver , semverver, "src/tools/semverver" , "cargo-semver" , stable=false , { } ;
667+ Semverver , semverver, "src/tools/semverver" , "rust-semverver" , stable=false , { } ;
668+ SemverPublic , semverver, "src/tools/semverver" , "rust-semver-public" , stable=false , { } ;
662669) ;
663670
664671impl < ' a > Builder < ' a > {
0 commit comments