aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-11-13 01:55:15 -0500
committerGitHub <noreply@github.com>2019-11-13 01:55:15 -0500
commiteb05af27d2bc8597bb7ce54b4b545e5ec99dd84f (patch)
tree09f9b4f6b730658cf50fa8e7e9dedd97a869659c /python/servo
parent396df402185266fba595560ba9c642669fc834f0 (diff)
parentb7389a9637b02fbfbc1b218801a2e7f52d5e273b (diff)
downloadservo-eb05af27d2bc8597bb7ce54b4b545e5ec99dd84f.tar.gz
servo-eb05af27d2bc8597bb7ce54b4b545e5ec99dd84f.zip
Auto merge of #24711 - servo:rustc-dev, r=jdm
Make `./mach rustup` install the rustc-dev component
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/devenv_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index 266d2cfd6a5..78f6e2ce392 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -206,7 +206,7 @@ class MachCommands(CommandBase):
filename = path.join(self.context.topdir, "rust-toolchain")
with open(filename, "w") as f:
f.write(toolchain + "\n")
- return call(["rustup" + BIN_SUFFIX, "install", toolchain])
+ return call(["rustup" + BIN_SUFFIX, "component", "add", "rustc-dev"])
@Command('fetch',
description='Fetch Rust, Cargo and Cargo dependencies',