]> git.lizzy.rs Git - rust.git/commitdiff
Fix a manifest-generation bug on beta
authorAlex Crichton <alex@alexcrichton.com>
Mon, 6 Feb 2017 21:33:03 +0000 (13:33 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 6 Feb 2017 21:33:03 +0000 (13:33 -0800)
Right now all Cargo release tarballs are 'nightly', they're not on the standard
channels yet.

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

index 8c15a6630a33c9139787177ed56a99b74cbc6449..3eaac82d9fa85aef696cd68a2245f01ee0bfdeb4 100644 (file)
@@ -317,6 +317,8 @@ fn url(&self, component: &str, target: &str) -> String {
     fn filename(&self, component: &str, target: &str) -> String {
         if component == "rust-src" {
             format!("rust-src-{}.tar.gz", self.channel)
+        } else if component == "cargo" {
+            format!("cargo-nightly-{}.tar.gz", target)
         } else {
             format!("{}-{}-{}.tar.gz", component, self.channel, target)
         }