From 6f70a9c1de649ce38e014eaa8fa3b22f862768a9 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 2 Jan 2020 14:48:13 +0100 Subject: mach: always call `ensure_bootstrapped` before `call_rustup_run` --- python/servo/command_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/servo/command_base.py') diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 23bb48050d2..f8c1bcb0610 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -360,7 +360,7 @@ class CommandBase(object): def call_rustup_run(self, args, **kwargs): if self.config["tools"]["use-rustup"]: - self.ensure_rustup_version() + assert self.context.bootstrapped args = ["rustup" + BIN_SUFFIX, "run", "--install", self.rust_toolchain()] + args else: args[0] += BIN_SUFFIX -- cgit v1.2.3