From efb4471529ee288eed217a39e80db983e11b20f8 Mon Sep 17 00:00:00 2001 From: Xudong Huang Date: Sat, 30 Dec 2023 21:12:14 +0800 Subject: [PATCH] :pencil: fix cargo clippy --- src/detail/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/detail/mod.rs b/src/detail/mod.rs index c0428a6..aa78928 100644 --- a/src/detail/mod.rs +++ b/src/detail/mod.rs @@ -27,13 +27,14 @@ #[cfg_attr(all(unix, target_arch = "arm"), path = "arm_unix.rs")] #[cfg_attr(all(unix, target_arch = "x86_64"), path = "x86_64_unix.rs")] #[cfg_attr(all(windows, target_arch = "x86_64"), path = "x86_64_windows.rs")] +#[cfg_attr(all(windows, target_arch = "aarch64"), path = "aarch64_windows.rs")] #[cfg_attr(all(unix, target_arch = "loongarch64"), path = "loongarch64_unix.rs")] #[cfg_attr(all(unix, target_arch = "riscv64"), path = "riscv64_unix.rs")] pub mod asm; mod gen; -pub use self::asm::{gen_init, initialize_call_frame, prefetch, swap_registers, InitFn, Registers}; +pub use self::asm::{gen_init, initialize_call_frame, swap_registers, InitFn, Registers}; #[inline] fn align_down(sp: *mut usize) -> *mut usize {