cargo::core::profiles

Function merge_config_profiles

source
fn merge_config_profiles(
    ws: &Workspace<'_>,
    requested_profile: InternedString,
) -> CargoResult<BTreeMap<InternedString, TomlProfile>>
Expand description

Takes the manifest profiles, and overlays the config profiles on-top.

Returns a new copy of the profile map with all the mergers complete.