-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JSPI: Pass all unit tests, remove stale PHP builds (#1876)
Fixes the JSPI details overlooked in the original JSPI PR (#1867): * Correctly define the PLAYGROUND_JSPI constant to ensure EM_ASYNC_JS is used in JSPI builds. It wasn't picked up before. * Provide -sJSPI_IMPORTS during the build to ensure WebAssembly waits for any promises returned by js_open_process and other JavaScript functions. * Runs the CI tests using Node v23 nightly * Solves a few small issues – look around the diff for more details ## Testing instructions * CI checks should pass * All unit tests should pass locally in Node.js v23 nightly: ``` $ node-v23.0.0-nightly2024100909d10b50dc-darwin-x64/bin/node --experimental-wasm-jspi --experimental-wasm-stack-switching --expose-gc node_modules/nx/bin/nx run php-wasm-node:test ```
- Loading branch information
Showing
63 changed files
with
1,763 additions
and
2,605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.