1
Fork 0

Use the object crate for metadata reading

This commit is contained in:
bjorn3 2021-03-29 11:39:13 +02:00
parent e5f83d24ae
commit 267d55d44a
8 changed files with 79 additions and 156 deletions

View file

@ -250,7 +250,7 @@ impl CodegenBackend for LlvmCodegenBackend {
}
fn metadata_loader(&self) -> Box<MetadataLoaderDyn> {
Box::new(metadata::LlvmMetadataLoader)
Box::new(rustc_codegen_ssa::back::metadata::DefaultMetadataLoader)
}
fn provide(&self, providers: &mut ty::query::Providers) {