Skip to main content

install_cached_cargo_binary

Function install_cached_cargo_binary 

Source
pub fn install_cached_cargo_binary(
    rt: &RustRuntimeServices<'_>,
    cache_dir: PathBuf,
    cache_hit: CacheHit,
    install_root: Option<PathBuf>,
    rust_toolchain: Option<String>,
    cargo_home: PathBuf,
    package: &str,
    version: &str,
    binary: &str,
) -> Result<()>