Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-environment / publishWasiSdkDirectory

Function: publishWasiSdkDirectory() ​

publishWasiSdkDirectory(extraction, destination, platform?): string

Defined in: hermes/toolchain-environment.ts:489

Publish a validated SDK in the shared cache, keeping a complete concurrent installation.

Parameters ​

extraction ​

string

Directory containing the validated SDK.

destination ​

string

Shared cache directory for this SDK version.

platform? ​

Platform = process.platform

Host platform used to check the SDK compiler suffix.

Returns ​

string

The shared SDK directory.

Throws ​

If the destination exists but does not contain a complete SDK.

pumpkin-plugins documentation