From 8e09c3720585ab5abb94699e8e97057e177d43b6 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 11 Mar 2022 18:12:29 +0100 Subject: [PATCH] Import the asm macro in std_detect (#1290) --- 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. ///