aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-11-12 13:57:46 +0100
committerSimon Sapin <simon.sapin@exyr.org>2019-11-12 13:57:46 +0100
commitb7389a9637b02fbfbc1b218801a2e7f52d5e273b (patch)
treed1b7a23b4591651aa82a07fe8a821b0111fd6402 /python
parent9a518cf7979b79b34611135d09c1dd0a96945255 (diff)
downloadservo-b7389a9637b02fbfbc1b218801a2e7f52d5e273b.tar.gz
servo-b7389a9637b02fbfbc1b218801a2e7f52d5e273b.zip
Make `./mach rustup` install the rustc-dev component
Diffstat (limited to 'python')
-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',