about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-11-19 14:22:41 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-11-19 14:22:41 -0800
commit3c67ed450068a89ab4b0a4d8d3656d6eb0d35d63 (patch)
treeb6dda22321821831df8505e22f93868f6c0a03fd
parent9e8a982a234532ad9cce7f072d130029df96bebc (diff)
Add temporary renames to manifests for rustfmt/clippy
This will be part of our strategy for shipping renamed versions of these
components for the Rust 2018 edition.

Closes #55967
-rw-r--r--src/tools/build-manifest/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs
index 8781542ae04..bf95b31ae3c 100644
--- a/src/tools/build-manifest/src/main.rs
+++ b/src/tools/build-manifest/src/main.rs
@@ -355,6 +355,8 @@ impl Builder {
         self.package("lldb-preview", &mut manifest.pkg, TARGETS);
 
         manifest.renames.insert("rls".to_owned(), Rename { to: "rls-preview".to_owned() });
+        manifest.renames.insert("rustfmt".to_owned(), Rename { to: "rustfmt-preview".to_owned() });
+        manifest.renames.insert("clippy".to_owned(), Rename { to: "clippy-preview".to_owned() });
 
         let mut pkg = Package {
             version: self.cached_version("rust")