-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Installer updates #22256
Installer updates #22256
Conversation
The quick start already links to the book. I think its not necessary to do in the build instructions.
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
cc @steveklabnik This tweaks the very first section of the README and The Book's uninstall instructions. |
Oh, if not everything lands together in time for a nightly I expect it shouldn't result in major problems like last time. Now that the installers are versioned they should not clobber each other, but the combined build will probably fail. |
Highlights: * Adds an 'uninstall.sh' script to `/usr/local/lib/rustlib/uninstall.sh`, the path to which is printed during installation. * Components can be deselected during install, like `install.sh --without=rust-docs`. * Components can be listed with `install.sh --list-components`. * Vastly reduces spew during install (but supporting a `--verbose` option). Typicall install run looks like: ``` brian@brianX1:~/dev/multirust⟫ sudo ./install.sh [sudo] password for brian: install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'cargo' install: installing component 'rust-docs' Rust is ready to roll. ``` Needs to be merged right before corresponding PRs to cargo and rust-packaging. Fixes rust-lang#21117 Fixes rust-lang#20283
Needs to land immediately after rust-lang/rust#22256.
Highlights:
/usr/local/lib/rustlib/uninstall.sh
, the path to which is printed during installation.install.sh --without=rust-docs
.install.sh --list-components
.--verbose
option).Typicall install run looks like:
Needs to be merged right before corresponding PRs to cargo and rust-packaging.
Fixes #21117
Fixes #20283