cargo::core::compiler::unit_dependencies

Function deps_of_roots

source
fn deps_of_roots(roots: &[Unit], state: &mut State<'_, '_>) -> CargoResult<()>
Expand description

Compute all the dependencies of the given root units. The result is stored in state.unit_dependencies.