rustup run
Run a command with an environment configured for a Rust toolchain. Note: all commands managed by
rustuphave a shorthand for this: for example,cargo +nightly buildis equivalent torustup run nightly cargo build. More information: https://rust-lang.github.io/rustup.
- Run a command using a given Rust toolchain (see
rustup help toolchainfor more information):
rustup run {{toolchain}} {{command}}