diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2020-01-02 15:38:32 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2020-01-02 15:48:11 +0100 |
commit | f93c03cda345fb746ff3bb5b92b86536a0ee9236 (patch) | |
tree | cb103d981b3280b089b5e8a5d5baf30340babb9a /python/servo/post_build_commands.py | |
parent | 1110cac184d15ba24f8f94cb21e258de4ba5be76 (diff) | |
download | servo-f93c03cda345fb746ff3bb5b92b86536a0ee9236.tar.gz servo-f93c03cda345fb746ff3bb5b92b86536a0ee9236.zip |
Install `rust-docs` rustup component in `./mach doc`
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r-- | python/servo/post_build_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index 941999fdc0b..0311350e273 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -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" |