diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2018-03-22 21:43:27 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-03-22 21:43:27 +0000 |
commit | 61cd09e0c8061a2b1735cc84fc25224d9f5e2302 (patch) | |
tree | 022c7abdf93f3504b31760d546b237910d2dbdab /development/rustup/README | |
parent | cde5bc7030d34bdabc6ec7a094e355318d331c83 (diff) |
development/rustup: Added (The Rust toolchain installer).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/rustup/README')
-rw-r--r-- | development/rustup/README | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/development/rustup/README b/development/rustup/README new file mode 100644 index 0000000000000..3f09ade329ee3 --- /dev/null +++ b/development/rustup/README @@ -0,0 +1,17 @@ +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. + +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 + ( + cd $HOME/.rustup/shims + ln -s /usr/bin/rustup $lnk + ) +done + +Then add the directory to your path (.bashrc for example): +export PATH="$HOME/.rustup/shims:$PATH" |