rust-lang / rustup

The Rust toolchain installer
https://rust-lang.github.io/rustup/
Apache License 2.0
6.17k stars 888 forks source link

rustup show should include toolchain link paths (maybe only with `show -v`) #3408

Open pnkfelix opened 1 year ago

pnkfelix commented 1 year ago

Problem you are trying to solve

I often need a reminder about which paths in my local development map to which rustup toolchain identifiers.

As far as I can tell, the only way to do this today is for me to chdir into the hidden directory rustup uses to represent the toolchains and list them, so that I can see the symbolic links it is using. I.e., there is no way to do it from the command line via the rustup tool itself; instead I am relying on knowledge of rustup's internal architecture to find what I need.

Solution you'd like

It would be nice if the rustup show command actually told me about the toolchains that were set up via rustup toolchain link and also told me what path they link to.

Notes

No response

Eric1878 commented 1 year ago

Cool

rbtcollins commented 1 year ago

Have you tried rustup toolchain list -v ?