Function rustc_driver::driver::phase_2_configure_and_expand
[−]
[src]
pub fn phase_2_configure_and_expand(sess: &Session, cstore: &CStore, krate: Crate, crate_name: &str, addl_plugins: Option<Vec<String>>) -> Result<Crate, usize>
Unstable (
rustc_private
)Run the "early phases" of the compiler: initial cfg
processing,
loading compiler plugins (including those from addl_plugins
),
syntax expansion, secondary cfg
expansion, synthesis of a test
harness if one is to be provided and injection of a dependency on the
standard library and prelude.
Returns None
if we're aborting after handling -W help.