about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-05-29 15:00:18 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-06-04 13:20:04 +0200
commitf04a2d308e62c5ad0ab34b2e5fbcc0dfa32656fc (patch)
tree2e910104a2f23b04325b03d1ab88f6c27cc5ad24 /compiler/rustc_codegen_llvm
parent45c9775361ed7500e945c6b7a30520066bf2811a (diff)
downloadrust-f04a2d308e62c5ad0ab34b2e5fbcc0dfa32656fc.tar.gz
rust-f04a2d308e62c5ad0ab34b2e5fbcc0dfa32656fc.zip
Provide default MetadataLoader
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs
index 2d9765e8a49..fe099acc93b 100644
--- a/compiler/rustc_codegen_llvm/src/lib.rs
+++ b/compiler/rustc_codegen_llvm/src/lib.rs
@@ -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>,