Can i run nightly and stable compliers?

171 views Asked by At

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?

1

There are 1 answers

1
Aplet123 On BEST ANSWER

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.