Skip to content

Commit 7a2c09b

Browse files
committed
Auto merge of #42977 - Keruspe:master, r=alexcrichton
rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel Also, update the cargo submodule to handle the new value.
2 parents d41b791 + 93528d9 commit 7a2c09b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bootstrap/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ impl Build {
347347

348348
// FIXME: Temporary fix for https://github.com/rust-lang/cargo/issues/3005
349349
// Force cargo to output binaries with disambiguating hashes in the name
350-
cargo.env("__CARGO_DEFAULT_LIB_METADATA", "1");
350+
cargo.env("__CARGO_DEFAULT_LIB_METADATA", &self.config.channel);
351351

352352
let stage;
353353
if compiler.stage == 0 && self.local_rebuild {

0 commit comments

Comments
 (0)