summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/lib.rs
diff options
context:
space:
mode:
authorCharles Lew <crlf0710@gmail.com>2021-06-20 17:43:25 +0800
committerCharles Lew <crlf0710@gmail.com>2021-06-28 19:39:48 +0800
commitd3ff497bec60687e3e1bdde383bd0b9dc74b5870 (patch)
treef12696156730de79bc337241e6a2dc4e9cfad0e3 /compiler/rustc_codegen_cranelift/src/lib.rs
parent654e3345e535913653a2bad4204c31f9ccedb3c4 (diff)
downloadrust-d3ff497bec60687e3e1bdde383bd0b9dc74b5870.tar.gz
rust-d3ff497bec60687e3e1bdde383bd0b9dc74b5870.zip
Update other codegens to use tcx managed vtable allocations.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_cranelift/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/lib.rs b/compiler/rustc_codegen_cranelift/src/lib.rs
index 6aadaf8a7ca..b817bf4aff7 100644
--- a/compiler/rustc_codegen_cranelift/src/lib.rs
+++ b/compiler/rustc_codegen_cranelift/src/lib.rs
@@ -98,7 +98,7 @@ mod prelude {
     pub(crate) use cranelift_codegen::isa::{self, CallConv};
     pub(crate) use cranelift_codegen::Context;
     pub(crate) use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext, Variable};
-    pub(crate) use cranelift_module::{self, DataContext, DataId, FuncId, Linkage, Module};
+    pub(crate) use cranelift_module::{self, DataContext, FuncId, Linkage, Module};
 
     pub(crate) use crate::abi::*;
     pub(crate) use crate::base::{codegen_operand, codegen_place};