3 ms·
Using nightly for a single build and going back to stable for regular work is not hard. It's a command or two to build and switch, and a command to switch back.
by kbenson 10y ago
Using nightly for a single build and going back to stable for regular work is not hard. It's a command or two to build and switch, and a command to switch back.
Using nightly rust to build a project in development to check it out is like using a beta release of a library to build a project to check it out. In both cases, you expect that it will likely be using stable dependencies in the future, and you can still take a look now.
- Paul-ish 10y agoIt seems like the Cargo.toml file for binaries should be able to specify this, and cause the crate to be built with the nightly if it is installed. This way you only have to enter cargo build --release.
- steveklabnik 10y agoCargo isn't in charge of selecting what rustc you use; that's the job of Rustup. In general, _some_ feature like this is desired; nobody has put in the required work yet.