diff --git a/ext/ffi/turbocall.rs b/ext/ffi/turbocall.rs index c0bb067162..0417da6332 100644 --- a/ext/ffi/turbocall.rs +++ b/ext/ffi/turbocall.rs @@ -27,6 +27,8 @@ pub(crate) fn is_compatible(sym: &Symbol) -> bool { .any(|t| matches!(t, NativeType::Struct(_))) } +// Unused on linux aarch64 +#[allow(unused)] pub(crate) fn compile_trampoline(sym: &Symbol) -> Trampoline { #[cfg(all(target_arch = "x86_64", target_family = "unix"))] return SysVAmd64::compile(sym);