Wasi-emscripten-host

Kotlin Multiplatform implementation of WebAssembly host functions from WASI Preview 1 system interface and from Emscripten environment, that can be used with WebAssembly runtimes: GraalVM, Chicory, or Chasm.

Implemented a limited subset of Emscripten host functions needed to run a single-threaded version of SQLite compiled with Emscripten on a JVM/Kotlin Multiplatform runtime. It may also work in some other cases too. The WASI/Emscripten filesystem is also (partially) covered.

Source: https://github.com/illarionov/wasi-emscripten-host

All modules:

Link copied to clipboard

Chasm WebAssembly runtime integration.

Link copied to clipboard

Chicory JVM WebAssembly runtime integration.

Link copied to clipboard

GraalWasm WebAssembly runtime integration.

Link copied to clipboard

Common to all modules public classes.

Link copied to clipboard

Common implementation of filesystem bindings used in WASI and Emscripten.

Link copied to clipboard

Test fixtures for the filesystem module. Internal helper module not for public use.

Link copied to clipboard

Host abstraction used in the Emscripten and WASI Preview 1 implementations.

Link copied to clipboard

Test fixtures for the host module. Internal helper module not for public use.

Link copied to clipboard

Classes for preparing the test environment used primarily for tests for native targets. Internal helper module not for public use.

Link copied to clipboard

Implementation of the at.released.weh.common.api.Logger to use in tests. Internal helper module not for public use.