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
* Fix some typos and linter warnings.
This commit fixes some random comment typos and various linter warnings.
* wit-component: rename `decode_interface_component`.
This commit renames `decode_interface_component` to
`decode_component_interfaces` to better describe what the function does.
Previously it was meant to decode an "interface-only" component, but now it
returns all the interfaces (i.e. the "world") of the component.
* wit-component: implement multi-value return printing.
This commit implements printing of multi-value returns of interfaces decoded
from a component.
* Remove `module` field from `Interface`.
The `module` field was originally used by `cargo component` but is no longer
necessary and otherwise unused from `wit-bindgen` itself.
* Remove `symbol_namespace` from Rust generator.
This field is no longer used anywhere in the wit-bindgen repo.
* Add method to `Interface` for determining core export names.
This commit extracts the expected core export name out of `wit-component` and
into `Interface`, allowing generators to conform to the name expected by
`wit-component`.
0 commit comments