-
Notifications
You must be signed in to change notification settings - Fork 911
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 self default-host
command, make it configurable at install
#309
Comments
|
Some related things that would be nice:
This may seem redundant, but I'd prefer rustup itself to be 64-bit if I'm using it on a 64-bit OS.
|
Yeah, good idea. |
After further pondering I prefer |
It would be useful to have an option to not install any toolchains. Scenario: there's a server with several users and one common preinstalled Rust toolchain that is not in |
@petrochenkov Agreed, yeah. The case of installing |
This is implemented with #421 |
Support `rustup-init --default-toolchain none` To address this use case #309 (comment). This is especially useful when user directories have quotas into which large components (e.g. docs) do not fit.
On Windows in particular, there are lots of architectures people may prefer to build for by default. Right now you have to either download a specific build of rustup to get a specific host compiler, or you have to explicitly install each toolchain for that architecture.
This behavior is too surprising and the solution too undiscoverable. I think the best thing to do is have a "default host" configuration and make it configurable at install time.
The commands for this might be
rustup self set-default-host
andrustup self show-default-host
.During installation, as part of the install message, we'll mention the host architecture and that it can be changed. We may only need to indicate this in the Windows install message, since that's where it matters most, not sure.
The text was updated successfully, but these errors were encountered: