rustc_interface::passes

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.