Skip to content

Commit

Permalink
Fix bug bootstrapping stable rust
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Mar 8, 2017
1 parent 728a249 commit 79275ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/servo/bootstrap_commands.py
Expand Up @@ -71,7 +71,8 @@ def bootstrap_rustc(self, force=False, target=[], stable=False):
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=" ")
Expand Down

0 comments on commit 79275ab

Please sign in to comment.