spec
spec copied to clipboard
[js-api] Allow passing non-bigint values to I64 parameters
This was originally discussed in https://github.com/WebAssembly/JS-BigInt-integration/issues/12.
I would like to propose revisiting but since that repo has been archived I'm restarting the conversation here.
I've worked on getting memory64 working in emscripten for that last year or so I've run into this issue many times now. The most recent and painful instance being https://github.com/emscripten-core/emscripten/issues/17969. Fixing this one is going to take a lot of effort and I think will have runtime overhead as well as add code complexity.
https://github.com/WebAssembly/design/issues/1399 also seems related.