pub fn load(p: &Profile, path: &Path) -> Result<Loaded>Available on crate feature
native-plugins only.Expand description
Load a plugin (once per process and profile; libraries stay loaded) after checking it exports the profile’s symbols and ABI version.
Loading runs the library’s initializers with the process’s rights: load only what the
owner approved (see crate::approved), from the cache build fills.