If I'm using @WasmImport how do i actually load the side module wasm file? Do i need to have the import boilerplate done manually with js or does the kotlin wasm js initialization support loading non kotlin wasm side modules?
UPDATE: @WasmImport works with modules names like
./wasm-side-module.wasm
but I'm having problems with missing symbols like
env
,
GOT.mem
and
GOT.func
as my side module is compiled with emscriptem. Does anybody know how do i provide them?
👍 1
b
bashor
02/25/2026, 11:34 PM
If it’s produced by emscripten, I think proper/easiest way to use it is using js file produced by emscripten.