Run one command on the stable toolchain.
Section: rust-toolchain files
Use stable once without changing defaults
bash
bash
cargo +stable testExplanation
The `+toolchain` shorthand overrides the toolchain for that invocation.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing rust-toolchain files
Pin toolchain in version-controlled config
Check in a `rust-toolchain.toml` file.
List components
Show installed and available components for active toolchain.