Skip to main content

build_wrapper

Function build_wrapper 

Source
pub fn build_wrapper(
    input: &GenerateWrapperInput<'_>,
    config: &BuildConfig<'_>,
) -> Result<PathBuf>
Expand description

Build a wrapper component for input. Reuses the per-key build dir across runs so cargo’s incremental compile handles staleness. Returns the path to the produced wasm component, which lives inside the persistent build dir.