From d3f6f21a2695930b8ccfa0ff5a5c49a22aa714f1 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) --- library/stdarch/crates/std_detect/src/detect/os/aarch64.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/stdarch/crates/std_detect/src/detect/os/aarch64.rs b/library/stdarch/crates/std_detect/src/detect/os/aarch64.rs index 169c51b961c5..e0e62ee3393c 100644 --- a/library/stdarch/crates/std_detect/src/detect/os/aarch64.rs +++ b/library/stdarch/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. ///