We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e0c623 commit 88b5f57Copy full SHA for 88b5f57
src/driver/jit.rs
@@ -74,6 +74,7 @@ fn create_jit_module<'tcx>(
74
jit_builder.hotswap(hotswap);
75
crate::compiler_builtins::register_functions_for_jit(&mut jit_builder);
76
jit_builder.symbols(imported_symbols);
77
+ jit_builder.symbol("__clif_jit_fn", clif_jit_fn as *const u8);
78
let mut jit_module = JITModule::new(jit_builder);
79
80
let mut cx = crate::CodegenCx::new(
@@ -210,8 +211,7 @@ pub(crate) fn run_jit(tcx: TyCtxt<'_>, backend_config: BackendConfig) -> ! {
210
211
}
212
213
-#[no_mangle]
214
-extern "C" fn __clif_jit_fn(
+extern "C" fn clif_jit_fn(
215
instance_ptr: *const Instance<'static>,
216
trampoline_ptr: *const u8,
217
) -> *const u8 {
0 commit comments