Multirust is a system for managing multiple installs of the Rust compiler and Cargo, the Rust package manager.
By default multirust installs into /usr/local
, we will be installing into our home directory to avoid giving multirust any unneccesary privledges.
- Install GPG for checking compiler signatures,
brew install gpg
- Clone the repo,
git clone https://github.com/brson/multirust.git
cd multirust
mkdir ~/rustbase
./build.sh
./install.sh --prefix=~/rustbase
Add ~/rustbase/bin/
to your PATH
multirust default stable
rustc --version
rustc 1.5.0 (3d7cd77e4 2015-12-04)
git clone https://github.com/ruud-v-a/robigo-luculenta.git
cd robigo-luculenta
multirust override nightly
cargo build
rustc --version
rustc 1.7.0-nightly (d0bac3f14 2016-01-18)
multirust update 1.0.0
multirust override 1.0.0
rustc --version
rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14)