about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-06-06 19:32:43 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-06-19 22:25:05 -0700
commitbe7ebdd512e8b4de29c0e0cf5aabf486e988867b (patch)
treebb4cfa3e4d8b47883518fc1fd6a34b613b63aae7 /src/bootstrap/bootstrap.py
parent04145943a25c3b8c7e7d7fe8c2efb04f259c25fb (diff)
downloadrust-be7ebdd512e8b4de29c0e0cf5aabf486e988867b.tar.gz
rust-be7ebdd512e8b4de29c0e0cf5aabf486e988867b.zip
Bump version and stage0 compiler
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 971064fe9fe..1d3b77916d6 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -385,6 +385,7 @@ class RustBuild(object):
         if self.clean and os.path.exists(build_dir):
             shutil.rmtree(build_dir)
         env = os.environ.copy()
+        env["RUSTC_BOOTSTRAP"] = '1'
         env["CARGO_TARGET_DIR"] = build_dir
         env["RUSTC"] = self.rustc()
         env["LD_LIBRARY_PATH"] = os.path.join(self.bin_root(), "lib") + \