development/rustup: Fix README.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-10-17 00:34:16 -04:00 committed by Willy Sudiarto Raharjo
parent c9c3af4943
commit b0812e9fb3
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 5 additions and 4 deletions

View File

@ -1,13 +1,14 @@
rustup - The Rust toolchain installer
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.
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-fmt rls rustc rustdoc rustfmt rust-gdb rust-lldb
do
(
cd $HOME/.rustup/shims
ln -s /usr/bin/rustup $lnk