cargo::core::compiler::unit_dependencies

Function maybe_lib

source
fn maybe_lib(
    unit: &Unit,
    state: &mut State<'_, '_>,
    unit_for: UnitFor,
) -> CargoResult<Option<UnitDep>>