Expand description
wasmtime bindgen for the plugin-world WIT contract.
Path is wit/ inside this crate. The canonical source lives in
yosh-plugin-api/wit/; build.rs verifies the bundled copy matches
when built inside the workspace. The copy is required because
cargo install yosh-plugin-manager extracts each crate standalone,
so a sibling-relative path (../yosh-plugin-api/wit) is unresolvable
from ~/.cargo/registry/src/.../yosh-plugin-manager-<ver>/.
This is independent from the host’s bindgen invocation in
src/plugin/mod.rs — the two crates produce separate generated
types, so we cannot share. The host needs HostContext as the store
type and full host imports; the manager needs MetadataCtx and
deny-only imports.
Modules§
Structs§
- Plugin
World - Auto-generated bindings for an instance a component which
implements the world
plugin-world. - Plugin
World Indices - Auto-generated bindings for index of the exports of
plugin-world. - Plugin
World Pre - Auto-generated bindings for a pre-instantiated version of a
component which implements the world
plugin-world.