Function cargo::core::compiler::custom_build::build_map

source ·
pub fn build_map(build_runner: &mut BuildRunner<'_, '_>) -> CargoResult<()>
Expand description

Computes several maps in BuildRunner.

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.