Run a command with an environment configured for a Rust toolchain. Note: all commands managed by
rustup
have a shorthand for this: for example,cargo +nightly build
is equivalent torustup run nightly cargo build
. More information: https://rust-lang.github.io/rustup.
rustup help toolchain
for more information):rustup run toolchain command