-
Notifications
You must be signed in to change notification settings - Fork 3
Adding Rust Nightly
Champii edited this page Jun 4, 2022
·
2 revisions
To check if you already have the nightly channel added for Rust, use:
rustup show
This will give you infomation about which build channels you have for rust and which one is active. If you have the nightly, you should see something like this:
Default host: x86_64-unknown-linux-gnu
rustup home: /home/<username>/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu
active toolchain
----------------
stable-x86_64-unknown-linux-gnu (default)
rustc 1.61.0 (fe5b13d68 2022-05-18)
If you don't see the nightly build you can add it using the following command:
rustup install nightly
This will add the option to use the nightly build of Rust for this and any other projects. Note you don't have to switch to the nightly to be the active toolchain but can use it specific projects, see below.
cargo +nightly install --git https://github.com/Champii/Rock --locked
rock -V