Closed
Description
Problem you are trying to solve
Let me guess: you actually just want to get the active toolchain path with this snippet...
... however you might have tried the following options and concluded that neither is satisfactory:
rustup show active-toolchain
. This seems like the most obvious option, however it is somehow not willing to give you the toolchain path...rustup toolchain list --verbose
. This does give you the toolchain paths, but you have to manually deduce what the active toolchain is :|
corrosion-rs/corrosion#590 (comment)
Solution you'd like
rustup show active-toolchain
should provide the toolchain path, or optionally with --verbose
.
Notes
No response