What is the state of WASI vs. emscripten? I have tried wasmtime (which downloaded more than 400 crates to build) with wasi-libc, only to hit this issue:
https://github.com/bytecodealliance/wasmtime/issues/8068
With emscripten, which can package the required files instead of accessing the file system. everything just worked.
But emscripten is occasionally described as "unmaintained".