Description
Add support for WebAssembly compile options, including the browser API options used by WebAssembly.compile(...) and related entry points.
Background
The current bridge exposes synchronous compile and instantiate behavior, but it does not accept the option shapes defined by the JavaScript API. Adding compile options would make it easier to align with browser usage patterns and would provide a place to wire future features such as builtins and imported string constants.
Specification
WebAssembly JavaScript API: compile options for WebAssembly.compile(...), WebAssembly.instantiate(...), and related namespace methods
Description
Add support for WebAssembly compile options, including the browser API options used by
WebAssembly.compile(...)and related entry points.Background
The current bridge exposes synchronous compile and instantiate behavior, but it does not accept the option shapes defined by the JavaScript API. Adding compile options would make it easier to align with browser usage patterns and would provide a place to wire future features such as builtins and imported string constants.
Specification
WebAssembly JavaScript API: compile options for
WebAssembly.compile(...),WebAssembly.instantiate(...), and related namespace methods