pub fn to_required_spec(p: RequiredPlugin) -> RequiredSpecExpand description
Convert a host-side RequiredPlugin into the loader’s mirror.
The one match the mirroring costs. Worth it: without it, the WIT-facing
type and the loader’s would be the same type, and a loader refactor could
reshape a published plugin API.