Function tugger_rust_toolchain::install_rust_toolchain [−][src]
pub fn install_rust_toolchain(
logger: &Logger,
toolchain: &str,
host_triple: &str,
extra_target_triples: &[&str],
install_root_dir: &Path,
download_cache_dir: Option<&Path>
) -> Result<InstalledToolchain>
Install a functional Rust toolchain capable of running on and building for a target triple.
This is a convenience method for fetching the packages that compose a minimal Rust installation capable of compiling.
host_triple
denotes the host triple of the toolchain to fetch.
extra_target_triples
denotes extra triples for targets we are building for.