Function rustc_session::session::build_session
source · pub fn build_session(
handler: &EarlyErrorHandler,
sopts: Options,
io: CompilerIO,
bundle: Option<Lrc<FluentBundle>>,
registry: Registry,
fluent_resources: Vec<&'static str>,
driver_lint_caps: FxHashMap<LintId, Level>,
file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
target_override: Option<Target>,
cfg_version: &'static str,
ice_file: Option<PathBuf>,
expanded_args: Vec<String>
) -> Session