cargo::core::profiles

Function merge_toml_overrides

Source
fn merge_toml_overrides(
    pkg_id: Option<PackageId>,
    is_member: bool,
    is_for_host: bool,
    profile: &mut Profile,
    toml: &TomlProfile,
)
Expand description

Merge package and build overrides from the given TOML profile into the given Profile.