diff --git a/kernel/src/backtrace.rs b/kernel/src/backtrace.rs index 0c45cc7..abf95fb 100644 --- a/kernel/src/backtrace.rs +++ b/kernel/src/backtrace.rs @@ -1,4 +1,4 @@ -use core::intrinsics::size_of; +use core::mem::size_of; extern "C" { fn stext(); diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs index d059360..29e5ce0 100644 --- a/kernel/src/lib.rs +++ b/kernel/src/lib.rs @@ -6,7 +6,6 @@ #![feature(optin_builtin_traits)] #![feature(panic_info_message)] #![feature(global_asm)] -#![feature(core_intrinsics)] #![no_std] // just keep it ...