pub fn build_session(
sopts: Options,
io: CompilerIO,
bundle: Option<Arc<FluentBundle>>,
registry: Registry,
fluent_resources: Vec<&'static str>,
driver_lint_caps: FxHashMap<LintId, Level>,
target: Target,
sysroot: PathBuf,
cfg_version: &'static str,
ice_file: Option<PathBuf>,
using_internal_features: &'static AtomicBool,
expanded_args: Vec<String>,
) -> Session