aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2017-03-08 09:19:37 -0800
committerMatt Brubeck <mbrubeck@limpet.net>2017-03-08 09:19:37 -0800
commit79275ab68c263eb5048ef69b994c680ec81b3b1f (patch)
treed6ff569659009cfaba4602ae901402fd386c8b7a /python/servo/bootstrap_commands.py
parent728a249dea74acde598edbcbd4eb0512ddd267ba (diff)
downloadservo-79275ab68c263eb5048ef69b994c680ec81b3b1f.tar.gz
servo-79275ab68c263eb5048ef69b994c680ec81b3b1f.zip
Fix bug bootstrapping stable rust
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index aa298611825..998bb5a19b7 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -71,7 +71,8 @@ class MachCommands(CommandBase):
rust_dir = path.join(self.context.sharedir, "rust", rust_path)
install_dir = path.join(self.context.sharedir, "rust", version)
if not self.config["build"]["llvm-assertions"]:
- install_dir += "-alt"
+ if not self.use_stable_rust():
+ install_dir += "-alt"
if not force and path.exists(path.join(rust_dir, "rustc", "bin", "rustc" + BIN_SUFFIX)):
print("Rust compiler already downloaded.", end=" ")