bootstrap::core::metadata

Function workspace_members

Source
fn workspace_members(build: &Build) -> Vec<Package>
Expand description

Invokes cargo metadata to get package metadata of each workspace member.

This is used to resolve specific crate paths in fn should_run to compile particular crate (e.g., x build sysroot to build library/sysroot).