Function rustc_interface::passes::configure_and_expand
source · pub fn configure_and_expand(
sess: &Session,
lint_store: &LintStore,
krate: Crate,
crate_name: Symbol,
resolver: &mut Resolver<'_>
) -> Result<Crate>
Expand description
Runs the “early phases” of the compiler: initial cfg
processing, loading compiler plugins,
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.