Skip to content

Commit b0b0b25

Browse files
committed
Remove unnecessary abort_if_errors from cg_clif
1 parent 0ea2ce4 commit b0b0b25

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ impl CodegenBackend for CraneliftCodegenBackend {
209209
metadata: EncodedMetadata,
210210
need_metadata_module: bool,
211211
) -> Box<dyn Any> {
212-
tcx.dcx().abort_if_errors();
213212
info!("codegen crate {}", tcx.crate_name(LOCAL_CRATE));
214213
let config = self.config.clone().unwrap_or_else(|| {
215214
BackendConfig::from_opts(&tcx.sess.opts.cg.llvm_args)

0 commit comments

Comments
 (0)