mirror of
https://github.com/servo/servo.git
synced 2025-07-29 18:20:24 +01:00
Install rust-docs
rustup component in ./mach doc
This commit is contained in:
parent
1110cac184
commit
f93c03cda3
3 changed files with 7 additions and 6 deletions
|
@ -241,7 +241,7 @@ class PostBuildCommands(CommandBase):
|
|||
@CommandBase.build_like_command_arguments
|
||||
def doc(self, params, features, target=None, android=False, magicleap=False,
|
||||
media_stack=None, **kwargs):
|
||||
self.ensure_bootstrapped()
|
||||
self.ensure_bootstrapped(rustup_components=["rust-docs"])
|
||||
rustc_path = check_output(
|
||||
["rustup" + BIN_SUFFIX, "which", "--toolchain", self.rust_toolchain(), "rustc"])
|
||||
assert path.basename(path.dirname(rustc_path)) == "bin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue