# Function generate_std_roots

Source

    pub fn generate_std_roots(
        crates: &[String],
        units: &[Unit],
        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

Generates a map of root units for the standard library for each kind requested.

- `crates` is the arg value from `-Zbuild-std`.
- `units` is the root units of the build.