@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-environment / HermesToolchainSetupOptions
Interface: HermesToolchainSetupOptions
Defined in: hermes/toolchain-environment.ts:79
Options for installing or resolving the tools needed by a Static Hermes build.
Properties
arch?
optionalarch?:string
Defined in: hermes/toolchain-environment.ts:81
Target architecture for tool downloads; defaults to the current host.
env?
optionalenv?:ProcessEnv
Defined in: hermes/toolchain-environment.ts:83
Environment used to resolve configured tool paths.
fetchImpl?
optionalfetchImpl?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: hermes/toolchain-environment.ts:85
Fetch implementation used to retrieve release metadata and archives.
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>
homeDirectory?
optionalhomeDirectory?:string
Defined in: hermes/toolchain-environment.ts:87
Home directory used for the shared toolchain cache.
includeWasiSdk?
optionalincludeWasiSdk?:boolean
Defined in: hermes/toolchain-environment.ts:89
Whether to resolve and validate the WASI SDK.
includeWasmTools?
optionalincludeWasmTools?:boolean
Defined in: hermes/toolchain-environment.ts:91
Whether to resolve and validate wasm-tools.
includeWitBindgen?
optionalincludeWitBindgen?:boolean
Defined in: hermes/toolchain-environment.ts:93
Whether to resolve and validate wit-bindgen.
installWasiSdk?
optionalinstallWasiSdk?: (options) =>string|Promise<string>
Defined in: hermes/toolchain-environment.ts:95
Installer hooks used by tests and custom package integrations.
Parameters
options
WasiSdkInstallOptions
Returns
string | Promise<string>
installWasmTools?
optionalinstallWasmTools?: (options) =>string|Promise<string>
Defined in: hermes/toolchain-environment.ts:97
Installer hook for the pinned wasm-tools executable.
Parameters
options
WasmToolsInstallOptions
Returns
string | Promise<string>
installWitBindgen?
optionalinstallWitBindgen?: (options) =>string|Promise<string>
Defined in: hermes/toolchain-environment.ts:99
Installer hook for the pinned wit-bindgen executable.
Parameters
options
WitBindgenInstallOptions
Returns
string | Promise<string>
platform?
optionalplatform?:Platform
Defined in: hermes/toolchain-environment.ts:101
Target platform for tool downloads; defaults to the current host.
toolchainConfig?
optionaltoolchainConfig?:HermesToolchainConfig
Defined in: hermes/toolchain-environment.ts:103
Pinned wit-bindgen, Rust, and wasm-tools versions.
wasiSdkConfig?
optionalwasiSdkConfig?:WasiSdkConfig
Defined in: hermes/toolchain-environment.ts:105
WASI SDK version, GitHub repository, and trusted platform SHA-256 checksums.
workspaceRoot
workspaceRoot:
string
Defined in: hermes/toolchain-environment.ts:107
Root of the pumpkin-plugins workspace.