about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/dist.rs2
-rw-r--r--src/tools/build-manifest/src/main.rs4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index cafdaef121d..08403833646 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -1161,7 +1161,7 @@ impl Step for Rustfmt {
         // Prepare the image directory
         // We expect RLS to build, because we've exited this step above if tool
         // state for RLS isn't testing.
-        let rustfmt = builder.ensure(tool::Rls {
+        let rustfmt = builder.ensure(tool::Rustfmt {
             compiler: builder.compiler(stage, build.build),
             target
         }).expect("Rustfmt to build: toolstate is testing");
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs
index 0abc0441c26..524ba7908bd 100644
--- a/src/tools/build-manifest/src/main.rs
+++ b/src/tools/build-manifest/src/main.rs
@@ -280,10 +280,6 @@ impl Builder {
         if rls_present {
             manifest.renames.insert("rls".to_owned(), Rename { to: "rls-preview".to_owned() });
         }
-        if rustfmt_present {
-            manifest.renames.insert("rustfmt".to_owned(),
-                                    Rename { to: "rustfmt-preview".to_owned() });
-        }
 
         let mut pkg = Package {
             version: self.cached_version("rust")