You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wast-parser: add support for '(module definition ...)'
WASM v3 spec tests added the '(module definition ...)' construct to
WAST. This tells the test runner that the module should not be
instantiated immediately. The '(module instance ...)' construct (not yet
supported in wabt) instructs the test runner to instantiate the module.
This change adds an `is_definition` field to ScriptModule. The field
reflects whether the `definition` keyword was encountered after the
`module` keyword.
When WastParser encounters a TextModule in a script command, it now
returns a ScriptModule with the corresponding ScriptTextModule if the
module is definition-only.
0 commit comments