cargo::core::resolver

Function activate_deps_loop

source
fn activate_deps_loop(
    resolver_ctx: ResolverContext,
    registry: &mut RegistryQueryer<'_>,
    summaries: &[(Summary, ResolveOpts)],
    first_version: Option<VersionOrdering>,
    gctx: Option<&GlobalContext>,
) -> CargoResult<ResolverContext>
Expand description

Recursively activates the dependencies for summaries, in depth-first order, backtracking across possible candidates for each dependency as necessary.

If all dependencies can be activated and resolved to a version in the dependency graph, cx is returned.