Skip to main content

install_default

Function install_default 

Source
pub fn install_default(vm: &mut Vm) -> HostlibRegistry
Expand description

Convenience: build a HostlibRegistry populated with every capability the crate ships, register them on the supplied VM, and return the registry so callers can introspect (e.g. for schema-drift tests).

This is the canonical entry point for embedders that want the full hostlib surface; pick-and-choose embedders should construct HostlibRegistry directly.