pub(crate) fn start_codegen<'tcx>( codegen_backend: &dyn CodegenBackend, tcx: TyCtxt<'tcx>, ) -> Result<Box<dyn Any>>
Runs the codegen backend, after which the AST and analysis can be discarded.