cfg_if::cfg_if! {
if #[cfg(target_arch = "riscv64")] {
#[rustfmt::skip]
mod riscv64;
pub use riscv64::*;
} else if #[cfg(target_arch = "loongarch64")] {
#[rustfmt::skip]
mod loongarch64;
pub use loongarch64::*;
} else if #[cfg(target_arch = "x86_64")] {
#[rustfmt::skip]
mod x86_64;
pub use x86_64::*;
} else if #[cfg(target_arch = "aarch64")] {
#[rustfmt::skip]
mod aarch64;
pub use aarch64::*;
} else {
compile_error!("Unsupported architecture");
}
}