Skip to content

Commit 10dbe25

Browse files
committed
rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel
Signed-off-by: Marc-Antoine Perennou <[email protected]>
1 parent 3cbe8f9 commit 10dbe25

File tree

1 file changed

+1
-1
lines changed

1 file changed

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