about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2016-11-03 22:15:43 +0000
committerBrian Anderson <banderson@mozilla.com>2016-11-03 22:15:43 +0000
commit6a34feb034407cfcc82ccd951c13fb654689f130 (patch)
tree20d7373490c787d6607d01fd808df7883354037b /src/bootstrap
parent5665bdf3e3953a3fe67e047794913a0c88a83bde (diff)
downloadrust-6a34feb034407cfcc82ccd951c13fb654689f130.tar.gz
rust-6a34feb034407cfcc82ccd951c13fb654689f130.zip
Set RUSTC_BOOTSTRAP to some value.
Environment variables on windows can't be empty.
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 7c5a0c7373f..fdd7a1ec57d 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -873,7 +873,7 @@ impl Build {
 
     /// Adds the compiler's bootstrap key to the environment of `cmd`.
     fn add_bootstrap_key(&self, cmd: &mut Command) {
-        cmd.env("RUSTC_BOOTSTRAP", "");
+        cmd.env("RUSTC_BOOTSTRAP", "1");
         // FIXME: Transitionary measure to bootstrap using the old bootstrap logic.
         // Remove this once the bootstrap compiler uses the new login in Issue #36548.
         cmd.env("RUSTC_BOOTSTRAP_KEY", "62b3e239");