]> git.lizzy.rs Git - rust.git/commitdiff
build-manifest: Fix typos with rust-analysis
authorAlex Crichton <alex@alexcrichton.com>
Sun, 26 Feb 2017 04:16:22 +0000 (20:16 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 26 Feb 2017 04:20:04 +0000 (20:20 -0800)
The name of the package is 'rust-analysis', not 'analysis', and then
name of the channel is 'nightly', not 'rust-nightly'

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

index 6d40dcacdba432df9c702f50424237f77f1778cb..18c7932a2c030dac7084c895a6edf4616d8e46cf 100644 (file)
@@ -215,8 +215,8 @@ fn build_manifest(&mut self) -> Manifest {
         self.package("rust-docs", &mut manifest.pkg, TARGETS);
         self.package("rust-src", &mut manifest.pkg, &["*"]);
 
-        if self.channel == "rust-nightly" {
-            self.package("analysis", &mut manifest.pkg, TARGETS);
+        if self.channel == "nightly" {
+            self.package("rust-analysis", &mut manifest.pkg, TARGETS);
         }
 
         let mut pkg = Package {