-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_dlfcn_asyncify doesn't work with MEMORY64 + JSPI #23585
Comments
@brendandahl any ideas what we should do in this case? |
I think we can make jsifier aware that the function is async and add |
Are all functions marked as |
Sounds like a good fix if so. |
I don't think it's required, but using |
Great. And the functions will already be marked as async I guess. |
It may not be marked async already. Right now we have two ways, either the function is |
I see, and we cannot use |
The function has to be async to use await. FWIW, JSPI has changed quite a bit since we originally made |
*return a promise = be marked async |
Can you automatically add the |
Do you want to take a crack at fixing |
I can take a look. |
Fixed by #23588 |
The problem is that we inject
BigInt(ret)
since_dlopen_js
returns a pointer, but in the JSPI case it returns a promise which cannot be converted to BigInt.The text was updated successfully, but these errors were encountered: