pub fn compare_build_variants(
units: &[CrossVariantUnit<'_>],
) -> Option<CrossVariantComparison>Expand description
Compare exact whole units across C/C++ build partitions.
This deliberately covers Type-1 units only. It is a separate, bounded operation from a partition’s structural pipeline: normal Type-2/3 groups, their snapshots, baselines and histories remain partition-local. The function does compare source units directly; it never joins groups that a partition happened to report.