-
Notifications
You must be signed in to change notification settings - Fork 955
Rustup installer prompt or cli argument to install rust on drive in which the user wants instead of C: in windows #3495
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
Comments
@w1redch4d Hi! Currently the installation path selection is implemented via environment variables. Have you tried setting |
Yep, ik that as mentioned in #618 , but ig an installation path prompt in rustup-init might be more helpful for people who are just getting started ? |
@w1redch4d Thanks for your willingness to contribute on this issue! However, there is indeed a reason why options/prompts haven't been provided for this one:
Originally posted by @brson in #618 (comment) I see what you mean, but IIUC it is still the case that Maybe the best thing that we can do currently (without breaking our compatibility promises) could be something like the following:
Originally posted by @gnzlbg in #618 (comment) As a point of improvement, in a subsequent PR, you can make I'm not sure if this will break anything though... cc @rbtcollins |
I don't think we should offer functionality within rustup to manipulate the environment like that, that feels like opening a can of worms in complexity at a time when we're already quite limited in development capacity. But adding better inline guidance and documentation sounds great to me! |
I concur. There is a UI principle: make the common case easy, make the rare case possible. This case is already possible. It is not (based on how often it is asked for, and the context when it is asked for) a common case. So - if it isn't documented, lets document it better. But I don't think we should make the common case harder by adding more prompts. |
And the docs were added 4 years back. #618 (comment) |
Current docs:
So yes, this seems pretty friendly to me already. |
Uh oh!
There was an error while loading. Please reload this page.
Problem you are trying to solve
for now there seems to be no way to tell rustup-init to install rust and cargo on any other drive than the default C: drive on WIndows , An option to change the rust installation drive with rustup would be a good enhancement imo
Solution you'd like
A prompt in rustup-init after going for customize installation to enter the preferred path in which rust should be installed or a cli argument for the same purpose should do
Notes
I am willing to contribute on this issue
The text was updated successfully, but these errors were encountered: