[][src]Function wascc_host::host::add_native_capability

pub fn add_native_capability(capability: Capability) -> Result<()>

Adds a native linux dynamic library (plugin) as a capability provider to the runtime host. The identity and other metadata about this provider is determined by loading the plugin from disk and invoking the appropriate plugin trait methods.