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
feat: Add wasm_module_name and wasm_module_set_name.
This patch proposes 2 new functions to handle module's name:
* `wasm_module_name` that writes the module's name in a `wasm_name_t`
if any,
* `wasm_module_set_name` that sets the module's name if possible.
`wasm_module_set_name` returns `true` if the module's name has been
updated succesfully, `false` otherwise, e.g. if the name is invalid,
or if it's not possible to update it (e.g. if the module is already
instantiated).
0 commit comments