-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to skip rust-docs on rust-init (for CI envs) #747
Comments
It might be worth borrowing from cargo's features model, and have something like |
Docs and manpages are huge. Trying to delete them post-install is a moving target. My base docker image is < 300MB, but the Rust layer is 700MB compressed. |
Closing in favour of above issues |
Since I just spent a while trying to figure this out and these issues are still dominating Google results, I'll update these with the current status. Documentation was opt-in in till early 2017, but then they were made required again in March 2017, tracked by #903 in rustup.rs. While that issue wished for "some more options to remove them", that hasn't happened.. yet. Fortunately #998 seems to have some recent activity towards allowing opt-out for the docs. |
In a CI environments
rust-docs
component isn't needed but you cant skip its installation duringrustup-init
.Add a CLI option
--no-docs
or--minimal
, or even--components
with a list of components to install.The text was updated successfully, but these errors were encountered: