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
This commit stabilizes the `#[wasm_import_module]` attribute. Tracked by #52090
this issue can be attached to foreign modules (`extern { ... }` blocks) and is
used to configured the module name that the imports are listed with. The
WebAssembly specification indicates two utf-8 names are associated with all
imported items, one for the module the item comes from and one for the item
itself. The item itself is configurable in Rust via its identifier or
`#[link_name = "..."]`, but the module name was previously not configurable and
defaulted to `"env"`. This commit ensures that this is also configurable.
Closes#52090
0 commit comments