Function toolchain_find::find_installed_component[][src]

pub fn find_installed_component(name: &str) -> Option<PathBuf>

Given a Rust component name, search through all of the available toolchains on the system to see if it is installed. It will return the path of the component that has the latest version.