]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/bootstrap.py
Move add_apple_sdk out of add_pre_link_args.
[rust.git] / src / bootstrap / bootstrap.py
index e58cf0d164197926a8a68d98e5b35e8e76680780..1f0b55a78698d58f794abae04abf79e74784649f 100644 (file)
@@ -881,8 +881,9 @@ class RustBuild(object):
         submodules_names = []
         for module in submodules:
             if module.endswith("llvm-project"):
-                if self.get_toml('llvm-config') and self.get_toml('lld') != 'true':
-                    continue
+                if self.get_toml('llvm-config') or self.get_toml('download-ci-llvm') == 'true':
+                    if self.get_toml('lld') != 'true':
+                        continue
             check = self.check_submodule(module, slow_submodules)
             filtered_submodules.append((module, check))
             submodules_names.append(module)