Skip to content

Commit 9f2795f

Browse files
authored
Rollup merge of rust-lang#39599 - alexcrichton:cargo-tarball-name, r=brson
Fix a manifest-generation bug on beta Right now all Cargo release tarballs are 'nightly', they're not on the standard channels yet.
2 parents a7017b5 + bf126d2 commit 9f2795f

File tree

1 file changed

+2
-0
lines changed
  • src/tools/build-manifest/src

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ impl Builder {
326326
fn filename(&self, component: &str, target: &str) -> String {
327327
if component == "rust-src" {
328328
format!("rust-src-{}.tar.gz", self.channel)
329+
} else if component == "cargo" {
330+
format!("cargo-nightly-{}.tar.gz", target)
329331
} else {
330332
format!("{}-{}-{}.tar.gz", component, self.channel, target)
331333
}

0 commit comments

Comments
 (0)