Search code examples
rustnightly-build

Can i run nightly and stable compliers?


I am on rust stable, but i am trying to use rocket. I don’t think it works on the stable complier. Can i run both the nightly and stable complier on my system?


Solution

  • If you use rustup, you can have both toolchains on your system. You can use rustup install nightly to install nightly, then you can use rustup default nightly/stable to change which version of rustc is used. You can also use rustup run nightly/stable rustc to run rustc as one version without changing the default.