I\'m trying to run my tests with nightly Rust using Windows Powershell. I run cargo test in the directory, and I get
The + functionality comes from rustup, the Rust toolchain manager. It works for both cargo + as well as rustc +.
In addition, you can use
rustup run rustup override set to always use the nightly toolchain in that directory.rust-toolchain in your directory containing the name of the toolchain required (e.g. nightly). This has the safe effect as an override, but can be committed to source control.See also: