Skip to content

Commit c064c87

Browse files
committed
Auto merge of #43022 - Keruspe:beta, r=alexcrichton
[beta] rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel This is a backport of #42977 for beta
2 parents 3cbe8f9 + 427cbbc commit c064c87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bootstrap/lib.rs

+1-1
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)