rustup-{install,run,which,help,man}: add page (#10661)

This commit is contained in:
Lena
2023-09-17 06:48:25 +02:00
committed by GitHub
parent 1700d8a30e
commit 6d01f29bbd
5 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# rustup which
> Display which binary will be run for a given command managed by `rustup`.
> Like `which`, but searches a Rust toolchain instead of `$PATH`.
> More information: <https://rust-lang.github.io/rustup>.
- Display the path to the binary in the default toolchain:
`rustup which {{command}}`
- Display the path to the binary in the specified toolchain (see `rustup help toolchain` for more information):
`rustup which --toolchain {{toolchain}} {{command}}`