cargo::util::toml

Function validate_profile_layer

Source
fn validate_profile_layer(
    profile: &TomlProfile,
    name: &str,
    cli_unstable: &CliUnstable,
    features: &Features,
) -> CargoResult<()>
Expand description

Validates a profile.

This is a shallow check, which is reused for the profile itself and any overrides.