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
It can be fudged for 4GB address with something like:
ptr = Number(BigInt.asUintN(32, url));
I came across this and others adding MEMORY64 support to audio worklets (currently a bunch of workarounds but it's running and playing audio with a 4GB heap). Is there a plan for these internal functions?
The text was updated successfully, but these errors were encountered:
EM_JS does not currently automatically convert BigInts to numbers (like library js functions). There's a similar issue filed about this for the return values #16975.
This is with the latest Emscripten 4.0.1.
Is there a plan for JS functions like
stackAlloc
andUTF8ToString
that expect or return Numbers and not a BigInt.As an example, passing a 64-bit pointer to UTF8ToString fails the assert:
emscripten/src/lib/libstrings.js
Line 118 in 2bc4461
It can be fudged for 4GB address with something like:
I came across this and others adding
MEMORY64
support to audio worklets (currently a bunch of workarounds but it's running and playing audio with a 4GB heap). Is there a plan for these internal functions?The text was updated successfully, but these errors were encountered: