AK
emcc factorial.c -s WASM=1 -s SIDE_MODULE=1 -o factorial.wasm
и в js: https://gist.github.com/9654785b35ff667aedabfd3faefe653d
получаю ошибку
WebAssembly Instantiation: Import #0 module="env" error: module is not an object or function
Size: a a a
AK
emcc factorial.c -s WASM=1 -s SIDE_MODULE=1 -o factorial.wasm
WebAssembly Instantiation: Import #0 module="env" error: module is not an object or function
AK
IF
emcc factorial.c -s WASM=1 -s SIDE_MODULE=1 -o factorial.wasm
WebAssembly Instantiation: Import #0 module="env" error: module is not an object or function
AK
AK
AK
IF
s
s
IF
s
s
s
IF
s
s
IF
IF
s