# Function cargo::util::toml::targets::clean_bins

source ·

    fn clean_bins(
        features: &Features,
        toml_bins: Option<&Vec<TomlBinTarget>>,
        package_root: &Path,
        package_name: &str,
        edition: Edition,
        autodiscover: Option<bool>,
        warnings: &mut Vec<String>,
        errors: &mut Vec<String>,
        has_lib: bool
    ) -> CargoResult<Vec<Target>>