precompiled_loader library
Downloads and verifies Cargokit precompiled Rust binaries.
Functions
-
downloadPrecompiledRustLib(
{String? manifestDir, String? cacheDir}) → Future< String?> -
Downloads a verified release cdylib into
cacheDirand returns its path. -
hostRustTriple(
) → String - Host triple used for Cargokit precompiled artifact names.
-
precompiledRemoteFileName(
String rustTriple, String libraryFile) → String -
Cargokit remote artifact file name:
{triple}_{library-file}. -
precompiledRustLibFileName(
) → String - Rust cdylib filename for the current OS.