diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-05-29 14:51:27 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-04 13:20:04 +0200 |
| commit | 092bc2b744dd38581d436e3ae430f63e502793d9 (patch) | |
| tree | 700aa902e22de2716f0a08af6a5c755b82b37bb7 /compiler/rustc_codegen_llvm/src | |
| parent | c4c2ab57a43737867982fafc8cfacd9b069fee96 (diff) | |
| download | rust-092bc2b744dd38581d436e3ae430f63e502793d9.tar.gz rust-092bc2b744dd38581d436e3ae430f63e502793d9.zip | |
Provide a default provide* implementation for CodegenBackend
Both cg_llvm and cg_clif don't override it. cg_spirv does override it, so it needs to be preserved.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 728f1224dd8..2d9765e8a49 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -252,9 +252,6 @@ impl CodegenBackend for LlvmCodegenBackend { Box::new(rustc_codegen_ssa::back::metadata::DefaultMetadataLoader) } - fn provide(&self, _providers: &mut ty::query::Providers) {} - fn provide_extern(&self, _providers: &mut ty::query::Providers) {} - fn codegen_crate<'tcx>( &self, tcx: TyCtxt<'tcx>, |
