Skip to main content

build_and_install_plugin_copies

Function build_and_install_plugin_copies 

Source
pub fn build_and_install_plugin_copies(
    spec: &PluginInstallSpec,
    install_names: &[&str],
    is_debug: bool,
) -> Result<()>
Expand description

Build a Zellij WASM plugin once and copy it into the local Zellij plugins directory under multiple names.

ยงErrors

Returns an error when the WASM target cannot be installed, the plugin build fails, or any artifact copy fails.