From b7389a9637b02fbfbc1b218801a2e7f52d5e273b Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 12 Nov 2019 13:57:46 +0100 Subject: Make `./mach rustup` install the rustc-dev component --- python/servo/devenv_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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', -- cgit v1.2.3