aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2020-01-03 19:08:08 -0500
committerGitHub <noreply@github.com>2020-01-03 19:08:08 -0500
commitde50b4142b364f76d50f2bc43d4db030450bfdce (patch)
tree3c5cac53e386c2749e5f24a4fd5150ef00ecd593 /python/servo/bootstrap_commands.py
parent2488213d18d5bc9806b41fb2756a2a82dbe933a4 (diff)
parent8fc072a375378dcc73d2e348d8e46a4d735e6210 (diff)
downloadservo-de50b4142b364f76d50f2bc43d4db030450bfdce.tar.gz
servo-de50b4142b364f76d50f2bc43d4db030450bfdce.zip
Auto merge of #25417 - servo:profile, r=jdm,Manishearth
mach: automatically use the 'minimal' rustup profile + rustc-dev component Fixes https://github.com/servo/servo/issues/25401 Fixes https://github.com/servo/servo/issues/25402
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 835c7bf21c2..b8a88314609 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -281,8 +281,7 @@ class MachCommands(CommandBase):
default='1',
help='Keep up to this many most recent nightlies')
def clean_nightlies(self, force=False, keep=None):
- default_toolchain = self.default_toolchain()
- print("Current Rust version for Servo: {}".format(default_toolchain))
+ print("Current Rust version for Servo: {}".format(self.rust_toolchain()))
old_toolchains = []
keep = int(keep)
stdout = subprocess.check_output(['git', 'log', '--format=%H', 'rust-toolchain'])