pub fn get_installed_toolchains() -> Result<Vec<String>>
Get installed toolchains via rustup
Returns an error if rustup is not found or the toolchain list command fails.
rustup
toolchain list