diff options
Diffstat (limited to 'development/rustup/README')
-rw-r--r-- | development/rustup/README | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/development/rustup/README b/development/rustup/README index 3f09ade329..70d31e61fa 100644 --- a/development/rustup/README +++ b/development/rustup/README @@ -1,12 +1,15 @@ rustup - The Rust toolchain installer -To use the versions of rust installed through rustup, you'll need to add links -to the rustup binary on your path before the system rust. +If you want to use the versions of rust installed through rustup by +default for everything, you'll need to add links to the rustup binary +on your path before the system rust. You are free to choose where, but here is an example for a single user: mkdir -p $HOME/.rustup/shims -for lnk in cargo cargo-fmt rls rustc rustdoc rustfmt rust-gdb rust-lldb ; do +for lnk in cargo cargo-clippy cargo-fmt cargo-miri clippy-driver \ +rls rust-gdb rust-lldb rustc rustdoc rustfmt +do ( cd $HOME/.rustup/shims ln -s /usr/bin/rustup $lnk |