@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-environment / selectWasmToolsAsset
Function: selectWasmToolsAsset()
selectWasmToolsAsset(
target):object
Defined in: hermes/toolchain-environment.ts:623
Return the pinned wasm-tools archive and checksum for a supported platform.
Parameters
target
Pinned release version, platform, and architecture.
arch
string
platform
Platform
version
string
Returns
object
Archive filename, HTTPS download URL, and lowercase SHA-256 digest.
digest
digest:
string
name
name:
string
url
url:
string
Throws
If the version or platform/architecture pair has no pinned binary.