slackbuilds/development/rustup
Andrew Clemons 8a601f2802
development/rustup: Updated for version 1.18.3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
2019-07-13 08:30:58 +07:00
..
README development/rustup: Added (The Rust toolchain installer). 2018-03-22 21:43:27 +00:00
rustup.SlackBuild development/rustup: Updated for version 1.18.3. 2019-07-13 08:30:58 +07:00
rustup.info development/rustup: Updated for version 1.18.3. 2019-07-13 08:30:58 +07:00
slack-desc development/rustup: Updated for version 1.16.0. 2018-12-22 08:44:22 +07:00

README

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"