Skip to content

Commit 4076f73

Browse files
committed
Auto merge of #39600 - alexcrichton:cargo-tarball-name2, r=brson
[beta] Fix a manifest-generation bug on beta This is a beta backport of #39599
2 parents 3f38cac + e4104e1 commit 4076f73

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
@@ -317,6 +317,8 @@ impl Builder {
317317
fn filename(&self, component: &str, target: &str) -> String {
318318
if component == "rust-src" {
319319
format!("rust-src-{}.tar.gz", self.channel)
320+
} else if component == "cargo" {
321+
format!("cargo-nightly-{}.tar.gz", target)
320322
} else {
321323
format!("{}-{}-{}.tar.gz", component, self.channel, target)
322324
}

0 commit comments

Comments
 (0)