about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-01-29 17:23:36 +0000
committerJoshua Nelson <jyn514@gmail.com>2021-01-29 17:23:36 +0000
commitdb115f13f398ace4a207afc1beacde6a990f2f53 (patch)
tree810186a0242b93ebfa031aab0d248357352bd6c1 /src/bootstrap
parentb122908617436af187252572ed5db96850551380 (diff)
downloadrust-db115f13f398ace4a207afc1beacde6a990f2f53.tar.gz
rust-db115f13f398ace4a207afc1beacde6a990f2f53.zip
Don't clone LLVM submodule when download-ci-llvm is set
Previously, `downloading_llvm` would check `self.build` while it was
still an empty string, and think it was always false. This fixes the
check.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 8576f57959a..cc9a233e9af 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -1085,10 +1085,10 @@ def bootstrap(help_triggered):
     else:
         build.set_normal_environment()
 
+    build.build = args.build or build.build_triple()
     build.update_submodules()
 
     # Fetch/build the bootstrap
-    build.build = args.build or build.build_triple()
     build.download_stage0()
     sys.stdout.flush()
     build.ensure_vendored()