Uses new unsafe linear memory APSs kotlin.wasm.unsafe.*
and annotation kotlin.WasmImport
.
Bindings are generated from https://github.com/skuzmich/wasi-witx-kotlin-hacks/blob/kotlin-hacks/crates/witx-bindgen/src/lib.rs for wasi_snapshot_preview1
version of WASI API.
Needs a fresh kotlin installed to maven local:
~/kotlin $ ./gradlew install --parallel
./gradlew wasmTest