cargo::core::compiler::unit_dependencies

Function maybe_lib

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