Ref asm&global_asm from core::arch.

This commit is contained in:
Yifan Wu 2022-01-21 10:11:07 -08:00
parent 2cad6d291e
commit f495dbb1e6
8 changed files with 10 additions and 5 deletions

View file

@ -1,7 +1,5 @@
#![no_std]
#![no_main]
#![feature(global_asm)]
#![feature(asm)]
#![feature(panic_info_message)]
#![feature(alloc_error_handler)]
@ -10,6 +8,8 @@ extern crate alloc;
#[macro_use]
extern crate bitflags;
use core::arch::global_asm;
#[macro_use]
mod console;
mod lang_items;