Function rustc_interface::util::run_in_thread_pool_with_globals

source ยท
pub(crate) fn run_in_thread_pool_with_globals<F: FnOnce(CurrentGcx) -> R + Send, R: Send>(
    thread_builder_diag: &EarlyDiagCtxt,
    edition: Edition,
    _threads: usize,
    sm_inputs: SourceMapInputs,
    f: F,
) -> R