mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 13:42:07 +02:00

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
9 lines
434 B
Markdown
9 lines
434 B
Markdown
# rustup run
|
|
|
|
> 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 to `rustup run nightly cargo build`.
|
|
> More information: <https://rust-lang.github.io/rustup>.
|
|
|
|
- Run a command using a given Rust toolchain (see `rustup help toolchain` for more information):
|
|
|
|
`rustup run {{toolchain}} {{command}}`
|