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
Support wit bindgens adding producer information via component-type metadata (#930)
* wasm-metadata: refactor to make it easier to manipulate producers sections
previously the only api for updating a producers section was with
AddMetadata, this allows you to rewrite a wasm using that or just a
method on your own Producers
* wit-component: add facility for bindgen (metadata::encode) to plumb through additional producers info
* ComponentBuilder keeps track of a Producers section added to a
component
* metadata::encode gets an additional argument for an optional Producers
* ComponentEncoder::module decodes producers out of type metadata section, and
rewrites them into the core module
* fix
* fix fuzz target
0 commit comments