Added `wasm32-wasi` support
It looks like mlua already supports wasm through wasm32-unknown-emscripten, would it be possible to add wasm32-wasi support as well?
I would love to support wasi, but currently the blocker is exception handling See notable limitations on the wasi-sdk page c++ exceptions or setjmp/longjmp is required for Lua VM
Thanks for the response.
How does wasm32-unknown-emscripten work around the lack of exceptions or setjmp/longjmp?
How does
wasm32-unknown-emscriptenwork around the lack of exceptions or setjmp/longjmp?
Seems it support native wasm exceptions if enabled, or javascript exceptions otherwise. See setjmp-longjmp and C++ exceptions support pages