From 63e70c50ac30b4f8e0a5f4e51009c6f01f8f3e71 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 9 Mar 2022 15:48:54 +0100 Subject: [PATCH] Import the asm macro in std_detect Fixes #1289 --- crates/std_detect/src/detect/os/aarch64.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/std_detect/src/detect/os/aarch64.rs b/crates/std_detect/src/detect/os/aarch64.rs index 169c51b961..e0e62ee339 100644 --- a/crates/std_detect/src/detect/os/aarch64.rs +++ b/crates/std_detect/src/detect/os/aarch64.rs @@ -17,6 +17,7 @@ //! - [Linux documentation](https://www.kernel.org/doc/Documentation/arm64/cpu-feature-registers.txt) use crate::detect::{cache, Feature}; +use core::arch::asm; /// Try to read the features from the system registers. ///