Skip to main content

Module generated

Module generated 

Source
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§

exports
yosh

Structs§

PluginWorld
Auto-generated bindings for an instance a component which implements the world plugin-world.
PluginWorldIndices
Auto-generated bindings for index of the exports of plugin-world.
PluginWorldPre
Auto-generated bindings for a pre-instantiated version of a component which implements the world plugin-world.