diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-02-06 13:33:03 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-02-06 13:33:03 -0800 |
| commit | bf126d244e28ba9bb6ce56127ebe6d5703d87a39 (patch) | |
| tree | 446e609bb4636981965d2ab0b7bc38fde32c4d39 | |
| parent | 324b175174c19b8be4592df11e65e0c4b6fee9d3 (diff) | |
Fix a manifest-generation bug on beta
Right now all Cargo release tarballs are 'nightly', they're not on the standard channels yet.
| -rw-r--r-- | src/tools/build-manifest/src/main.rs | 2 |
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 8c15a6630a3..3eaac82d9fa 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -317,6 +317,8 @@ impl Builder { 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) } |
