pub fn build_map(cx: &mut Context<'_, '_>) -> CargoResult<()>
Expand description

Computes several maps in Context.

The important one here is build_scripts, which for each (package, metadata) stores a BuildScripts object which contains a list of dependencies with build scripts that the unit should consider when linking. For example this lists all dependencies’ -L flags which need to be propagated transitively.

The given set of units to this function is the initial set of targets/profiles which are being built.