about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2017-06-29 10:03:56 +0200
committerMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2017-06-30 09:16:00 +0200
commitd23a62ba71c826b792db19dbf41ff4b70591fd7a (patch)
tree3a76692694cbff0f1a2fc30703f3f47eb65f9af5 /src/bootstrap
parenta4c68c62f0f9e4187b0daa469335a7b03d02c699 (diff)
downloadrust-d23a62ba71c826b792db19dbf41ff4b70591fd7a.tar.gz
rust-d23a62ba71c826b792db19dbf41ff4b70591fd7a.zip
rustbuild: set __CARGO_DEFAULT_LIB_METADATA to channel
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index ce7cde8fc94..86180077b82 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -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 {