***: fix cfg_if

This commit is contained in:
Mark Poliakov 2023-08-09 00:17:39 +03:00
parent a824e52095
commit c49c9fdacd

View File

@ -20,9 +20,9 @@ macro_rules! absolute_address {
}};
}
pub mod aarch64;
cfg_if! {
if #[cfg(target_arch = "aarch64")] {
pub mod aarch64;
pub use aarch64::{AArch64 as ArchitectureImpl, ARCHITECTURE, PlatformImpl, PLATFORM};
} else if #[cfg(target_arch = "x86_64")] {