Details
-
Sub-task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
-
92ad0f1f0 (dev)
Description
Configure Options
The current configure API for enabling JSPI is:
configure [...] -device-option QT_EMSCRIPTEN_ASYNCIFY=2 -feature-wasm-exceptions
This can be simplified by adding a "wasm-jspi" feature:
configure [...] -wasm-jspi
Enabling Exceptions
Should "wasm-jspi also enable wasm-exceptions? Yes: QtCore enables exceptions unconditionally, which for the JSPI build should be wasm-exceptions. Since wasm-exceptions need a linker flag we need to enable wasm-exceptions at configure time. (This is unlike the default Emscripten exceptions which requires a compile-flag only)
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-129748 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
606841,4 | wasm: add configure option for asyncify JSPI | dev | qt/qtbase | Status: MERGED | +2 | 0 |