Skip to content

Commit

Permalink
Auto merge of #43022 - Keruspe:beta, r=alexcrichton
Browse files Browse the repository at this point in the history
[beta] rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel

This is a backport of #42977 for beta
  • Loading branch information
bors committed Jul 4, 2017
2 parents 3cbe8f9 + 427cbbc commit c064c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ impl Build {

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

let stage;
if compiler.stage == 0 && self.local_rebuild {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/cargo

0 comments on commit c064c87

Please sign in to comment.