Skip to content

Commit d3f6f21

Browse files
authored
Import the asm macro in std_detect (#1290)
1 parent b51baab commit d3f6f21

File tree

1 file changed

+1
-0
lines changed
  • library/stdarch/crates/std_detect/src/detect/os

1 file changed

+1
-0
lines changed

library/stdarch/crates/std_detect/src/detect/os/aarch64.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
//! - [Linux documentation](https://www.kernel.org/doc/Documentation/arm64/cpu-feature-registers.txt)
1818
1919
use crate::detect::{cache, Feature};
20+
use core::arch::asm;
2021

2122
/// Try to read the features from the system registers.
2223
///

0 commit comments

Comments
 (0)