diff options
author | B. Watson <yalhcru@gmail.com> | 2020-10-17 00:34:16 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-24 08:14:57 +0700 |
commit | b0812e9fb350d6a2f40a2c89d3b2d663e8a362a0 (patch) | |
tree | 3b4366347ec377133ec25c3d6900ca54555b3388 /development | |
parent | c9c3af494321baf4e86880e82e4353fa887ccd3f (diff) |
development/rustup: Fix README.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/rustup/README | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/development/rustup/README b/development/rustup/README index 2c38157b7373d..f8dce7775cee4 100644 --- a/development/rustup/README +++ b/development/rustup/README @@ -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 |