@@ -237,6 +237,7 @@ pub fn prepare_tool_cargo(
237
237
|| path. ends_with ( "clippy" )
238
238
|| path. ends_with ( "miri" )
239
239
|| path. ends_with ( "rustfmt" )
240
+ || path. ends_with ( "semverver" )
240
241
{
241
242
cargo. env ( "LIBZ_SYS_STATIC" , "1" ) ;
242
243
features. push ( "rustc-workspace-hack/all-static" . to_string ( ) ) ;
@@ -604,6 +605,7 @@ macro_rules! tool_extended {
604
605
|tools| {
605
606
tools. iter( ) . any( |tool| match tool. as_ref( ) {
606
607
"clippy" => $tool_name == "clippy-driver" ,
608
+ "semverver" => $tool_name == "rust-semverver" ,
607
609
x => $tool_name == x,
608
610
} )
609
611
} ) ,
@@ -659,6 +661,11 @@ tool_extended!((self, builder),
659
661
} ;
660
662
Rustfmt , rustfmt, "src/tools/rustfmt" , "rustfmt" , stable=true , { } ;
661
663
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 , { } ;
662
669
) ;
663
670
664
671
impl < ' a > Builder < ' a > {
0 commit comments