Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
esm: --experimental-wasm-modules integration support #27659
This PR provides support for
The semantics match the proposed ES module integration semantics for Web Assembly as specified in https://github.com/webassembly/esm-integration.
At the previous modules group meeting we got consensus approval for upstreaming this feature under the
littledan left a comment
Note that this is slightly different than the standards track semantics, as it doesn't take a turn on the event loop during Instantiation. However, I don't expect this to affect most programs. I would also encourage you to write several more tests before landing.
devsnek left a comment •
please upload a wat source for simple.wasm with a comment in the top with the command used to produce simple.wasm
declare a wasm start function in your wasm module
this reminds me, @guybedford can you make a test which verifies that start functions run at the correct time?
at the moment,