]> git.lizzy.rs Git - rust.git/commitdiff
Add temporary renames to manifests for rustfmt/clippy
authorAlex Crichton <alex@alexcrichton.com>
Mon, 19 Nov 2018 22:22:41 +0000 (14:22 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 19 Nov 2018 22:22:41 +0000 (14:22 -0800)
This will be part of our strategy for shipping renamed versions of these
components for the Rust 2018 edition.

Closes #55967

src/tools/build-manifest/src/main.rs

index 8781542ae044a0286b70e5dada4ee53e479be191..bf95b31ae3ca4345985b70e76eea897b933fb5e0 100644 (file)
@@ -355,6 +355,8 @@ fn build_manifest(&mut self) -> Manifest {
         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")