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
In syntax/modules.rst an import expression must reference a module by name:
import ::= { module name, name name, desc importdesc }
But the syntax for a module has only definitions for various entities such as types, funcs, memory, ... there is no name.
Currently it seems each compiler appears to just assume some module name for entities that are imported. In clang the import statements use env where as the modules used in the wabt wasm-link tests generally use __extern.
It seems to me a module expression should have at least optional name.