mirror of
https://github.com/servo/servo.git
synced 2025-06-27 18:43:40 +01:00
Fix bug bootstrapping stable rust
This commit is contained in:
parent
728a249dea
commit
79275ab68c
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ class MachCommands(CommandBase):
|
||||||
rust_dir = path.join(self.context.sharedir, "rust", rust_path)
|
rust_dir = path.join(self.context.sharedir, "rust", rust_path)
|
||||||
install_dir = path.join(self.context.sharedir, "rust", version)
|
install_dir = path.join(self.context.sharedir, "rust", version)
|
||||||
if not self.config["build"]["llvm-assertions"]:
|
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)):
|
if not force and path.exists(path.join(rust_dir, "rustc", "bin", "rustc" + BIN_SUFFIX)):
|
||||||
print("Rust compiler already downloaded.", end=" ")
|
print("Rust compiler already downloaded.", end=" ")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue