Function cargo::core::compiler::unit_dependencies::new_unit_dep_with_profile
source · fn new_unit_dep_with_profile(
state: &State<'_, '_>,
parent: &Unit,
pkg: &Package,
target: &Target,
unit_for: UnitFor,
kind: CompileKind,
mode: CompileMode,
profile: Profile,
artifact: Option<&Artifact>
) -> CargoResult<UnitDep>