Skip to content

Commit 33df225

Browse files
committed
fix aarch64_linux
1 parent 91f564e commit 33df225

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpufeatures/src/aarch64_linux.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ macro_rules! __can_detect {
1919
#[doc(hidden)]
2020
macro_rules! __detect {
2121
($($tf:tt),+) => {{
22-
let hwcaps = $crate::aarch64::getauxval_hwcap();
22+
let hwcaps = $crate::aarch64_linux::getauxval_hwcap();
2323
$($crate::check!(hwcaps, $tf) & )+ true
2424
}};
2525
}
@@ -37,7 +37,7 @@ macro_rules! __expand_check_macro {
3737
macro_rules! check {
3838
$(
3939
($hwcaps:expr, $name) => {
40-
(($hwcaps & $crate::aarch64::hwcaps::$hwcap) != 0)
40+
(($hwcaps & $crate::aarch64_linux::hwcaps::$hwcap) != 0)
4141
};
4242
)*
4343
}

0 commit comments

Comments
 (0)