aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 0c107a1867b..c874d5ed26e 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -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: