Skip to content

Commit

Permalink
📝 fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Xudong-Huang committed Dec 30, 2023
1 parent 8552fc0 commit efb4471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/detail/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit efb4471

Please sign in to comment.