Open phrohdoh opened 4 years ago
Do you have the environment variables set in your shell setup by default? If not, rustup
won't understand what's going on. Those variables have to be set all the time for it to work.
Yes, they are set in my ~/.zshrc
.
If CARGO_HOME
is set properly then rustup self update
will honour it. (Since that's how we run our test suites) You might want to double check your environment in a fresh shell.
Describe the problem you are trying to solve
Install Rust tooling in custom locations on my file system via env vars.
Describe the solution you'd like
I'd like
rustup
to not error if installed somewhere other than~/.cargo
.Notes
If
rustup
must be installed at~/.cargo
, why have the home env vars at all? If I need to do something else that hasn't been shown here, the docs don't make that clear to me. AFAICT I've done everything correctly but cannot use Rust tooling.