aboutsummaryrefslogtreecommitdiff
path: root/src/specialized/aarch64.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/specialized/aarch64.rs')
-rw-r--r--src/specialized/aarch64.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/specialized/aarch64.rs b/src/specialized/aarch64.rs
index ce05261..49de6b0 100644
--- a/src/specialized/aarch64.rs
+++ b/src/specialized/aarch64.rs
@@ -7,7 +7,7 @@ pub struct State {
impl State {
pub fn new(state: u32) -> Option<Self> {
- if is_aarch64_feature_detected!("crc") {
+ if std::arch::is_aarch64_feature_detected!("crc") {
// SAFETY: The conditions above ensure that all
// required instructions are supported by the CPU.
Some(Self { state })