Function rustc_interface::util::get_codegen_backend
source · pub fn get_codegen_backend(
maybe_sysroot: &Option<PathBuf>,
backend_name: Option<&str>
) -> Box<dyn CodegenBackend>
Expand description
Get the codegen backend based on the name and specified sysroot.
A name of None
indicates that the default backend should be used.