WASI question, I'm working on llama2.c port to KMP...
# webassembly
s
WASI question, I'm working on llama2.c port to KMP, was able to make it work on most platforms, except for WASM, both JS and WASI: How do I pass CLI params to wasi executable? I was able to to it for JS target, but the same approach does not work for WASI
🔥 2
K 3
s
WASI target doesn’t include built-in support for reading CLI args yet. For now, you can copy the code from https://github.com/kowasm/kowasm/blob/main/wasi/src/wasmJsMain/kotlin/org/kowasm/wasi/internal/Args.kt
❤️ 1