cargo::core::compiler::standard_lib

# Function generate_std_roots

source

    pub fn generate_std_roots(
        crates: &[String],
        std_resolve: &Resolve,
        std_features: &ResolvedFeatures,
        kinds: &[CompileKind],
        package_set: &PackageSet<'_>,
        interner: &UnitInterner,
        profiles: &Profiles,
        target_data: &RustcTargetData<'_>,
    ) -> CargoResult<HashMap<CompileKind, Vec<Unit>>>

Expand description

Generate a list of root `Unit`s for the standard library.

The given slice of crate names is the root set.