From e2648005bace5893ee6adb02d1e8ae33f36ae7c0 Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Sun, 6 Mar 2022 11:34:22 +0100 Subject: [PATCH] Update to latest toolchain. --- src/arch/aarch64.rs | 2 ++ src/arch/riscv64/sv39.rs | 2 ++ src/arch/riscv64/sv48.rs | 2 ++ src/arch/x86_64.rs | 2 ++ src/lib.rs | 2 +- 5 files changed, 9 insertions(+), 1 deletion(-) 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::*,