Remove unnecessary abort_if_errors from cg_clif
This commit is contained in:
parent
0ea2ce4f6d
commit
b0b0b25c9c
1 changed files with 0 additions and 1 deletions
|
|
@ -209,7 +209,6 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
|||
metadata: EncodedMetadata,
|
||||
need_metadata_module: bool,
|
||||
) -> Box<dyn Any> {
|
||||
tcx.dcx().abort_if_errors();
|
||||
info!("codegen crate {}", tcx.crate_name(LOCAL_CRATE));
|
||||
let config = self.config.clone().unwrap_or_else(|| {
|
||||
BackendConfig::from_opts(&tcx.sess.opts.cg.llvm_args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue