2023-09-17 05:48:25 +01:00
|
|
|
# rustup which
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Display which binary will be run for a command managed by `rustup`.
|
2023-09-17 05:48:25 +01:00
|
|
|
> 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}}`
|