ChasmWasiPreview1Builder
WASI Preview 1 host function installer.
Sets up WebAssembly host imports that provide the Emscripten env and WASI Preview 1 implementations.
To create a new instance, use ChasmWasiPreview1Builder().
Usage example:
// Prepare WASI host imports
val wasiImports: List<Import> = ChasmWasiPreview1Builder(store) {
host = embedderHost
}.build()
Content copied to clipboard