You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to successfully run emscripten bindings with WASM_BIGINT and ASYNCIFY
When asyncify is not used, everything works as expected.
For convenience purposes, here's a repo I created for trying this out: https://github.com/sachit-wp/asyncify-repro but I have also provided details below:
RuntimeError: null function or function signature mismatch
at wasm://wasm/0001c73a:wasm-function[98]:0x57be
at ret.<computed> (file:///workspaces/asyncify-repro/build/asyncify_bigint.js:1679:24)
at file:///workspaces/asyncify-repro/build/asyncify_bigint.js:649:12
at dynCallLegacy (file:///workspaces/asyncify-repro/build/asyncify_bigint.js:2028:14)
at dynCall (file:///workspaces/asyncify-repro/build/asyncify_bigint.js:2045:17)
at file:///workspaces/asyncify-repro/build/asyncify_bigint.js:2049:27
at Object.getBigInt (eval at newFunc (file:///workspaces/asyncify-repro/build/asyncify_bigint.js:1447:27), <anonymous>:6:10)
at file:///workspaces/asyncify-repro/test.js:5:19
Node.js v23.2.0
The text was updated successfully, but these errors were encountered:
I am unable to successfully run emscripten bindings with WASM_BIGINT and ASYNCIFY
When asyncify is not used, everything works as expected.
For convenience purposes, here's a repo I created for trying this out: https://github.com/sachit-wp/asyncify-repro but I have also provided details below:
Version of emscripten/emsdk:
I have a simple program like this:
I built it with the following options:
When I attempt to run the following code from nodejs:
I get the error:
The text was updated successfully, but these errors were encountered: