rustc_driver_impl

Function run_compiler

Source
pub(crate) fn run_compiler(
    at_args: &[String],
    callbacks: &mut (dyn Callbacks + Send),
    file_loader: Option<Box<dyn FileLoader + Send + Sync>>,
    make_codegen_backend: Option<Box<dyn FnOnce(&Options) -> Box<dyn CodegenBackend> + Send>>,
    using_internal_features: Arc<AtomicBool>,
) -> Result<()>