mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
mach: always call ensure_bootstrapped
before call_rustup_run
This commit is contained in:
parent
e96bcea669
commit
6f70a9c1de
2 changed files with 2 additions and 1 deletions
|
@ -310,6 +310,7 @@ class MachCommands(CommandBase):
|
|||
return 0
|
||||
|
||||
def install_rustfmt(self):
|
||||
self.ensure_bootstrapped()
|
||||
with open(os.devnull, "w") as devnull:
|
||||
if self.call_rustup_run(["cargo", "fmt", "--version", "-q"],
|
||||
stderr=devnull) != 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue