fn calc_artifact_deps<'a>(
unit: &Unit,
unit_for: UnitFor,
dep_id: PackageId,
deps: &[&Dependency],
state: &State<'a, '_>,
ret: &mut Vec<UnitDep>,
) -> CargoResult<Option<&'a Target>>
Expand description
Find artifacts for all deps
of unit
and add units that build these artifacts
to ret
.