-
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
The syn operation exception for JSPI #23213
Comments
This doesn't seem to include a full reproduction. |
I'm so sorry for this mistake, i already add the html and example.h to reproduction |
The google chrome version is Version 131.0.6778.205 (Official Build) (64-bit) |
The example doesn't seem to actually be the full example, but I think I see what's going on. With JSPI the function that enters wasm must have be marked as async. For embind:
|
Please include the following in your bug report:
Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.74 (1092ec3)
clang version 20.0.0git (https:/github.com/llvm/llvm-project 322eb1a92e6d4266184060346616fa0dbe39e731)
Target: wasm32-unknown-emscripten
Thread model: posix
Failing command line in full:
NA
Full link command and output with
-v
appended:I tried to use JSPI instead of ASYNCIFY, and wrote a demo, but I got this error:
If i use following command, the result is ok.
Am I using JSPI wrong?
The text was updated successfully, but these errors were encountered: