[emscripten] Enable WASM_BIGINT by default
This flag has been enabled by default in emscripten for a while now so I don't think we need this here anymore.
Also remove the -Wno-experimental flag which is no longer needed for -sMEMORY64.
Also remove -sMODULARIZE which is implied by -sEXPORT_ES6.
Hm.. it looks like more work is requires to make the binaryen API bigint friendly. @kripken did you take a look at this in the past?
Hmm, no, I don't recall doing that.
More generally, my hope is we can move binaryen.js to embind so stuff like this is handled automatically.
Hmm, no, I don't recall doing that.
More generally, my hope is we can move binaryen.js to embind so stuff like this is handled automatically.
It seems like there are places where the API uses 64-bit stuff and is not expecting it to simply use bigints
I decided to look into the changes needed to the JS API.. WDYT?