Skip to content

Commit bf126d2

Browse files
committed
Fix a manifest-generation bug on beta
Right now all Cargo release tarballs are 'nightly', they're not on the standard channels yet.
1 parent 324b175 commit bf126d2

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)