mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Make ./mach rustup
install the rustc-dev component
This commit is contained in:
parent
9a518cf797
commit
b7389a9637
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class MachCommands(CommandBase):
|
||||||
filename = path.join(self.context.topdir, "rust-toolchain")
|
filename = path.join(self.context.topdir, "rust-toolchain")
|
||||||
with open(filename, "w") as f:
|
with open(filename, "w") as f:
|
||||||
f.write(toolchain + "\n")
|
f.write(toolchain + "\n")
|
||||||
return call(["rustup" + BIN_SUFFIX, "install", toolchain])
|
return call(["rustup" + BIN_SUFFIX, "component", "add", "rustc-dev"])
|
||||||
|
|
||||||
@Command('fetch',
|
@Command('fetch',
|
||||||
description='Fetch Rust, Cargo and Cargo dependencies',
|
description='Fetch Rust, Cargo and Cargo dependencies',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue