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
It's printing bar as the name of the global in the export, which is incorrect. It appears to be using a name from the "name" section, which only contains function names.
The "name" section is for function names, but there doesn't currently appear to be a section for global names. I filed WebAssembly/design#964 to ask whether there's interest in adding sections for globals and so on.
The text was updated successfully, but these errors were encountered:
With this binary:
wasm2wast prints this:
It's printing
bar
as the name of the global in the export, which is incorrect. It appears to be using a name from the "name" section, which only contains function names.The "name" section is for function names, but there doesn't currently appear to be a section for global names. I filed WebAssembly/design#964 to ask whether there's interest in adding sections for globals and so on.
The text was updated successfully, but these errors were encountered: