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