Skip to main content

run

Function run 

Source
pub fn run(
    ctx: &ProjectContext,
    analyzers: &[Box<dyn DriftAnalyzer>],
) -> Vec<Divergence>
Expand description

Execute every analyzer in parallel and return divergences sorted deterministically by (file, line, rule) so output can be diffed between runs.

Analyzers are independent by construction — see the DriftAnalyzer trait docstring — so par_iter is safe and parallelizes nicely on multi-pillar runs where one analyzer (e.g. ExamplesAnalyzer) spends most of its time blocked on cargo.