@@ -794,9 +794,9 @@ macro_rules! tool_extended {
794
794
$( $name: ident,
795
795
$path: expr,
796
796
$tool_name: expr,
797
- stable = $stable: expr,
798
- $( tool_std = $tool_std: literal, ) ?
799
- $extra_deps : block ; ) +) => {
797
+ stable = $stable: expr
798
+ $( , tool_std = $tool_std: literal) ?
799
+ ; ) +) => {
800
800
$(
801
801
#[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
802
802
pub struct $name {
@@ -838,7 +838,6 @@ macro_rules! tool_extended {
838
838
839
839
#[ allow( unused_mut) ]
840
840
fn run( mut $sel, $builder: & Builder <' _>) -> Option <PathBuf > {
841
- $extra_deps
842
841
$builder. ensure( ToolBuild {
843
842
compiler: $sel. compiler,
844
843
target: $sel. target,
@@ -860,17 +859,17 @@ macro_rules! tool_extended {
860
859
// Note: Most submodule updates for tools are handled by bootstrap.py, since they're needed just to
861
860
// invoke Cargo to build bootstrap. See the comment there for more details.
862
861
tool_extended ! ( ( self , builder) ,
863
- Cargofmt , "src/tools/rustfmt" , "cargo-fmt" , stable=true , { } ;
864
- CargoClippy , "src/tools/clippy" , "cargo-clippy" , stable=true , { } ;
865
- Clippy , "src/tools/clippy" , "clippy-driver" , stable=true , { } ;
866
- Miri , "src/tools/miri" , "miri" , stable=false , { } ;
867
- CargoMiri , "src/tools/miri/cargo-miri" , "cargo-miri" , stable=true , { } ;
862
+ Cargofmt , "src/tools/rustfmt" , "cargo-fmt" , stable=true ;
863
+ CargoClippy , "src/tools/clippy" , "cargo-clippy" , stable=true ;
864
+ Clippy , "src/tools/clippy" , "clippy-driver" , stable=true ;
865
+ Miri , "src/tools/miri" , "miri" , stable=false ;
866
+ CargoMiri , "src/tools/miri/cargo-miri" , "cargo-miri" , stable=true ;
868
867
// FIXME: tool_std is not quite right, we shouldn't allow nightly features.
869
868
// But `builder.cargo` doesn't know how to handle ToolBootstrap in stages other than 0,
870
869
// and this is close enough for now.
871
- Rls , "src/tools/rls" , "rls" , stable=true , tool_std=true , { } ;
872
- RustDemangler , "src/tools/rust-demangler" , "rust-demangler" , stable=false , tool_std=true , { } ;
873
- Rustfmt , "src/tools/rustfmt" , "rustfmt" , stable=true , { } ;
870
+ Rls , "src/tools/rls" , "rls" , stable=true , tool_std=true ;
871
+ RustDemangler , "src/tools/rust-demangler" , "rust-demangler" , stable=false , tool_std=true ;
872
+ Rustfmt , "src/tools/rustfmt" , "rustfmt" , stable=true ;
874
873
) ;
875
874
876
875
impl < ' a > Builder < ' a > {
0 commit comments