diff --git a/src/arch/aarch64.rs b/src/arch/aarch64.rs index be42f31aab..3d8711adb7 100644 --- a/src/arch/aarch64.rs +++ b/src/arch/aarch64.rs @@ -1,3 +1,5 @@ +use core::arch::asm; + use crate::{ Arch, MemoryArea, diff --git a/src/arch/riscv64/sv39.rs b/src/arch/riscv64/sv39.rs index 7b14130b5b..2e52caeb3e 100644 --- a/src/arch/riscv64/sv39.rs +++ b/src/arch/riscv64/sv39.rs @@ -1,3 +1,5 @@ +use core::arch::asm; + use crate::{ Arch, MemoryArea, diff --git a/src/arch/riscv64/sv48.rs b/src/arch/riscv64/sv48.rs index 5e1eff9d59..a16d8391d8 100644 --- a/src/arch/riscv64/sv48.rs +++ b/src/arch/riscv64/sv48.rs @@ -1,3 +1,5 @@ +use core::arch::asm; + use crate::{ Arch, MemoryArea, diff --git a/src/arch/x86_64.rs b/src/arch/x86_64.rs index da100f7bee..555de30c18 100644 --- a/src/arch/x86_64.rs +++ b/src/arch/x86_64.rs @@ -1,3 +1,5 @@ +use core::arch::asm; + use crate::{ Arch, MemoryArea, diff --git a/src/lib.rs b/src/lib.rs index 58d27a564b..099c240427 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![cfg_attr(not(feature = "std"), no_std)] -#![feature(asm, doc_cfg)] +#![feature(doc_cfg)] pub use crate::{ allocator::*,