diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-12 13:57:46 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-12 13:57:46 +0100 |
commit | b7389a9637b02fbfbc1b218801a2e7f52d5e273b (patch) | |
tree | d1b7a23b4591651aa82a07fe8a821b0111fd6402 /python | |
parent | 9a518cf7979b79b34611135d09c1dd0a96945255 (diff) | |
download | servo-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.py | 2 |
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', |