Function rustc_driver::util::get_codegen_backend [−][src]
pub fn get_codegen_backend(
maybe_sysroot: &Option<PathBuf>,
backend_name: Option<&str>
) -> Box<dyn CodegenBackend + 'static, Global>ⓘ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.