diff options
| author | Luca Barbato <lu_zero@gentoo.org> | 2022-03-11 18:12:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 17:12:29 +0000 |
| commit | d3f6f21a2695930b8ccfa0ff5a5c49a22aa714f1 (patch) | |
| tree | 9d77a33d82c06dbd4d883b8732bb46da100f6568 /library/stdarch/crates/std_detect | |
| parent | b51baab99cad7709e77e695f679a0eea01451585 (diff) | |
| download | rust-d3f6f21a2695930b8ccfa0ff5a5c49a22aa714f1.tar.gz rust-d3f6f21a2695930b8ccfa0ff5a5c49a22aa714f1.zip | |
Import the asm macro in std_detect (#1290)
Diffstat (limited to 'library/stdarch/crates/std_detect')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/os/aarch64.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 169c51b961c..e0e62ee3393 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. /// |
