-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Labels
component-modelIssues related to the implementation of the component modelIssues related to the implementation of the component modelwasmparserRelated to the binary format of WebAssembly (wasmparser)Related to the binary format of WebAssembly (wasmparser)
Description
Currently values are conditionally defined in a module whether or not the start function returns a value. This is a little surprising to me (question for the spec layer less so here) that unit is specifically ignored, so we may want to confirm upstream that unit, and I guess only unit is supposed to be ignored?
Additionally the check here isn't 100% right in the sense that if a TypeId is used which points to unit (as-is the case today due to #600) then a value is defined, meaning that a value definition happens depending on how the function type itself is defined.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component-modelIssues related to the implementation of the component modelIssues related to the implementation of the component modelwasmparserRelated to the binary format of WebAssembly (wasmparser)Related to the binary format of WebAssembly (wasmparser)