Is there a special config file which will change rustup per project where I'm currently in? Stable <-> nightly.
Similar to .ruby-version which changes the version of ruby when I cd to a project
There are two ways to specify per-project overrides:
1) https://github.com/rust-lang-nursery/rustup.rs#directory-overrides
2) https://github.com/rust-lang-nursery/rustup.rs#the-toolchain-file
The actual answer to the question is: rustup override set nightly
The links don鈥檛 point to the specific documentation anymore.
If you're going to add comments to old closed issues, please actually refer to the right thing. The equivalent of the .ruby-version is the rust-toolchain file which is now documented here: https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
@kinnison I added the comment because this is issue the first result on Google when you search on how to set the toolchain per project.
Most helpful comment
@kinnison I added the comment because this is issue the first result on Google when you search on how to set the toolchain per project.