Closed devoncarew closed 1 year ago
Ah, these are actually meant to specify module types. Those do not currently exist in Wasm, but the component model defines an analogous syntax. Types of course do not contain initialiser values (or function bodies, for that matter).
OK, gotcha, sounds like the docs for the spectest module are WAI? I'll close this PR then.
This updates the the 'spectest' module definition from the readme. I'd tried to compile it via wat2wasm and got errors; w/ these changes the module now compiles (
wat2wasm
v1.0.31).