Skip to content

@pumpkin-plugins/static-hermes-runtime API / component/compile / ComponentCompilationInput

Interface: ComponentCompilationInput ​

Defined in: component/compile.ts:25

Inputs for compiling generated bindings and bytecode into a WASI component.

Properties ​

generated ​

generated: ComponentGeneratedFiles

Defined in: component/compile.ts:27

Generated bindings and runtime source produced for the resolved WIT world.


options ​

options: ComponentBuildOptions

Defined in: component/compile.ts:29

Component build settings, including source, destination, and runtime profile.


run? ​

optional run?: (command, args) => void

Defined in: component/compile.ts:31

Optional command runner, primarily for tests that inspect compiler invocations.

Parameters ​

command ​

string

args ​

string[]

Returns ​

void


stackSizeBytes ​

stackSizeBytes: string

Defined in: component/compile.ts:33

Component stack size in bytes, passed to the linker.


temporaryDirectory ​

temporaryDirectory: string

Defined in: component/compile.ts:35

Temporary directory for bytecode and native object files.


toolchain ​

toolchain: ComponentToolchainArtifacts

Defined in: component/compile.ts:37

Hermes and WASI SDK locations used by the compiler and linker.

pumpkin-plugins documentation