about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/driver
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-23 09:37:28 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-04-23 09:37:28 +0000
commit3d682cfb66997e8cd5323e728fd77fc26b17fdd4 (patch)
tree5546f1a9f7aa30316196b4d3fc1a5417d5b749f5 /compiler/rustc_codegen_cranelift/src/driver
parentc67277301c896857d0534f2bb7431680796833fb (diff)
parentde5d6523738fd44a0521b6abf3e73ae1df210741 (diff)
downloadrust-3d682cfb66997e8cd5323e728fd77fc26b17fdd4.tar.gz
rust-3d682cfb66997e8cd5323e728fd77fc26b17fdd4.zip
Merge commit 'de5d6523738fd44a0521b6abf3e73ae1df210741' into sync_cg_clif-2024-04-23
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/driver')
-rw-r--r--compiler/rustc_codegen_cranelift/src/driver/jit.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/driver/jit.rs b/compiler/rustc_codegen_cranelift/src/driver/jit.rs
index 6dbc3f19127..929fa92596d 100644
--- a/compiler/rustc_codegen_cranelift/src/driver/jit.rs
+++ b/compiler/rustc_codegen_cranelift/src/driver/jit.rs
@@ -6,6 +6,7 @@ use std::ffi::CString;
 use std::os::raw::{c_char, c_int};
 use std::sync::{mpsc, Mutex, OnceLock};
 
+use cranelift_frontend::{FunctionBuilder, FunctionBuilderContext};
 use cranelift_jit::{JITBuilder, JITModule};
 use rustc_codegen_ssa::CrateInfo;
 use rustc_middle::mir::mono::MonoItem;