configure_and_expand in rustc_interface::passes - Rust
Description: Runs the “early phases” of the compiler: initial `cfg` processing, syntax expansion, secondary `cfg` expansion, synthesis of a test harness if one is to be provided, injection of a dependency on the standard library and prelude, and name resolution.

Skip to main content

## configure_and_expand

# Function configure_and_expand

Source

    fn configure_and_expand(
        krate: Crate,
        pre_configured_attrs: &[Attribute],
        resolver: &mut Resolver<'_, '_>,
    ) -> Crate

Expand description

Runs the “early phases” of the compiler: initial `cfg` processing, syntax expansion, secondary `cfg` expansion, synthesis of a test harness if one is to be provided, injection of a dependency on the standard library and prelude, and name resolution.