Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate<E>(
    loaded: &LoadedPlan,
    plugins: &PluginSet,
    collect: impl FnOnce(&PluginSet, &ReleaseSurface<'_>) -> Result<ReferenceSet, E>,
) -> Result<JigsawReport, E>
Expand description

Runs the plugin set against every target of a loaded plan.

The surfaces are borrowed views built here from the loaded snapshots. collect reads the plugin set against the build patch’s surface and returns its references, so a reference set cannot come from a different build patch. Host anchors are checked once per host release and OTP anchors once per OTP tag: N + M passes give the N x M cells.