rustc_interface::passes

Function start_codegen

Source
pub(crate) fn start_codegen<'tcx>(
    codegen_backend: &dyn CodegenBackend,
    tcx: TyCtxt<'tcx>,
) -> Result<Box<dyn Any>>
Expand description

Runs the codegen backend, after which the AST and analysis can be discarded.