Skip to main content

compile_plugin

Function compile_plugin 

Source
pub fn compile_plugin(
    file_set: &PluginFileSet,
) -> Result<CompiledPlugin, String>
Expand description

Compile a PluginFileSet into a CompiledPlugin.

Maps each plugin component to the corresponding capability contribution per the component-mapping table in specs/plugins.md. Errors are returned when compilation cannot produce a valid DeclarativeCapabilityDefinition.