***: fix cfg_if
This commit is contained in:
parent
a824e52095
commit
c49c9fdacd
@ -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")] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user