Provide default MetadataLoader

This commit is contained in:
bjorn3 2021-05-29 15:00:18 +02:00
parent 45c9775361
commit f04a2d308e
3 changed files with 9 additions and 10 deletions

View file

@ -248,10 +248,6 @@ impl CodegenBackend for LlvmCodegenBackend {
target_features(sess)
}
fn metadata_loader(&self) -> Box<MetadataLoaderDyn> {
Box::new(rustc_codegen_ssa::back::metadata::DefaultMetadataLoader)
}
fn codegen_crate<'tcx>(
&self,
tcx: TyCtxt<'tcx>,