about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2017-11-13 10:46:46 +1300
committerNick Cameron <ncameron@mozilla.com>2017-11-13 10:51:30 +1300
commit97d21e29df0ff67bd25fe563a87f5f387d291e5f (patch)
treeec79defdcbfe832bbb3a5fa6f3f6a5cc258dcdbc /src
parent63d854acf2ddcf127700940e4762393af4baabbf (diff)
downloadrust-97d21e29df0ff67bd25fe563a87f5f387d291e5f.tar.gz
rust-97d21e29df0ff67bd25fe563a87f5f387d291e5f.zip
review changes
Diffstat (limited to 'src')
-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")