@@ -1644,8 +1644,6 @@ impl Step for Extended {
16441644 "rust-analyzer-preview" . to_string ( )
16451645 } else if name == "clippy" {
16461646 "clippy-preview" . to_string ( )
1647- } else if name == "rustfmt" {
1648- "rustfmt-preview" . to_string ( )
16491647 } else if name == "miri" {
16501648 "miri-preview" . to_string ( )
16511649 } else if name == "rustc-codegen-cranelift" {
@@ -1665,7 +1663,7 @@ impl Step for Extended {
16651663 prepare ( "cargo" ) ;
16661664 prepare ( "rust-analysis" ) ;
16671665 prepare ( "rust-std" ) ;
1668- for tool in & [ "clippy" , "rustfmt" , " rust-analyzer", "rust-docs" , "miri" ] {
1666+ for tool in & [ "clippy" , "rust-analyzer" , "rust-docs" , "miri" ] {
16691667 if built_tools. contains ( tool) {
16701668 prepare ( tool) ;
16711669 }
@@ -1783,24 +1781,6 @@ impl Step for Extended {
17831781 . arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
17841782 . run ( builder) ;
17851783 }
1786- if built_tools. contains ( "rustfmt" ) {
1787- command ( & heat)
1788- . current_dir ( & exe)
1789- . arg ( "dir" )
1790- . arg ( "rustfmt" )
1791- . args ( heat_flags)
1792- . arg ( "-cg" )
1793- . arg ( "RustFmtGroup" )
1794- . arg ( "-dr" )
1795- . arg ( "RustFmt" )
1796- . arg ( "-var" )
1797- . arg ( "var.RustFmtDir" )
1798- . arg ( "-out" )
1799- . arg ( exe. join ( "RustFmtGroup.wxs" ) )
1800- . arg ( "-t" )
1801- . arg ( etc. join ( "msi/remove-duplicates.xsl" ) )
1802- . run ( builder) ;
1803- }
18041784 if built_tools. contains ( "miri" ) {
18051785 command ( & heat)
18061786 . current_dir ( & exe)
@@ -1872,9 +1852,6 @@ impl Step for Extended {
18721852 if built_tools. contains ( "clippy" ) {
18731853 cmd. arg ( "-dClippyDir=clippy" ) ;
18741854 }
1875- if built_tools. contains ( "rustfmt" ) {
1876- cmd. arg ( "-dRustFmtDir=rustfmt" ) ;
1877- }
18781855 if built_tools. contains ( "rust-docs" ) {
18791856 cmd. arg ( "-dDocsDir=rust-docs" ) ;
18801857 }
@@ -1901,9 +1878,6 @@ impl Step for Extended {
19011878 if built_tools. contains ( "clippy" ) {
19021879 candle ( "ClippyGroup.wxs" . as_ref ( ) ) ;
19031880 }
1904- if built_tools. contains ( "rustfmt" ) {
1905- candle ( "RustFmtGroup.wxs" . as_ref ( ) ) ;
1906- }
19071881 if built_tools. contains ( "miri" ) {
19081882 candle ( "MiriGroup.wxs" . as_ref ( ) ) ;
19091883 }
@@ -1942,9 +1916,6 @@ impl Step for Extended {
19421916 if built_tools. contains ( "clippy" ) {
19431917 cmd. arg ( "ClippyGroup.wixobj" ) ;
19441918 }
1945- if built_tools. contains ( "rustfmt" ) {
1946- cmd. arg ( "RustFmtGroup.wixobj" ) ;
1947- }
19481919 if built_tools. contains ( "miri" ) {
19491920 cmd. arg ( "MiriGroup.wixobj" ) ;
19501921 }
0 commit comments