pub fn execute_wasm_export(
module: &WasmParsedModule,
export_name: &str,
args: &[i32],
config: &WasmSandboxConfig,
) -> Result<WasmExecutionOutput, WasmDynamicError>Expand description
Executes an exported WebAssembly function inside a fuel-metered, memory-bounded sandbox.
§Arguments
&WasmParsedModule- Validated.wasmmodule.&str- Exported function name (e.g."euv_render","euv_on_event","euv_abi_version").&[i32]- Positionali32arguments passed to the export.&WasmSandboxConfig- Fuel and memory limits.
§Returns
Result<WasmExecutionOutput, WasmDynamicError>- Execution output including emitted native UI spec or bundle.