Function rustc_session::session::build_session
source · pub fn build_session(
sopts: Options,
local_crate_source_file: Option<PathBuf>,
bundle: Option<Lrc<FluentBundle>>,
registry: Registry,
diagnostics_output: DiagnosticOutput,
driver_lint_caps: FxHashMap<LintId, Level>,
file_loader: Option<Box<dyn FileLoader + Send + Sync + 'static>>,
target_override: Option<Target>
) -> Session