I am trying to install rustup with clippy, but I am looking way of installing for all users.
I installed rustup in /opt/setup. Whenever I switch users, I get this:
error: no default toolchain configured
If I try to install a toolchain it does not take /opt/setup
but /home/user
. I specified RUSTUP_HOME
and CARGO_HOME
in my .bashrc
file but still it chooses /home/user
. Is there a way to achieve this?
As of Apr 16, 2016:
It does not support it now
Even in Sept 10, 2017 the issue is still open, so I'd not wait for it, since installing Rust with clippy is straight forward.