From 97d21e29df0ff67bd25fe563a87f5f387d291e5f Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Mon, 13 Nov 2017 10:46:46 +1300 Subject: [PATCH] review changes --- src/bootstrap/dist.rs | 2 +- src/tools/build-manifest/src/main.rs | 4 ---- 2 files changed, 1 insertion(+), 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")