toml_targets_and_inferred in cargo::util::toml::targets - Rust
Description: API documentation for the Rust `toml_targets_and_inferred` fn in crate `cargo`.

Skip to main content

## toml_targets_and_inferred

# Function toml_targets_and_inferred

Source

    fn toml_targets_and_inferred(
        toml_targets: Option<&Vec<TomlTarget>>,
        inferred: &[(String, PathBuf)],
        package_root: &Path,
        autodiscover: Option<bool>,
        edition: Edition,
        warnings: &mut Vec<String>,
        target_kind_human: &str,
        target_kind: &str,
        autodiscover_flag_name: &str,
    ) -> Vec<TomlTarget>