Add 'docs' variant to rust-bootstrap (#42768)

* Add 'docs' variant to rust-bootstrap

* remove docs for rust-bootstrap
This commit is contained in:
Alex Richert 2024-02-21 10:04:13 -08:00 committed by GitHub
parent de3d1e6c66
commit e196978c7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -126,4 +126,5 @@ def url_for_version(self, version):
def install(self, spec, prefix): def install(self, spec, prefix):
install_script = Executable("./install.sh") install_script = Executable("./install.sh")
install_script(f"--prefix={prefix}") install_args = [f"--prefix={prefix}", "--without=rust-docs"]
install_script(" ".join(install_args))