Bump to rust nightly-2022-01-01, feature global_asm,asm->stable

This commit is contained in:
Yifan Wu 2022-01-01 02:24:51 -08:00
parent 45280db169
commit 48109c34d0
8 changed files with 16 additions and 10 deletions

View file

@ -1,7 +1,5 @@
#![no_std]
#![no_main]
#![feature(global_asm)]
#![feature(asm)]
#![feature(panic_info_message)]
#![feature(alloc_error_handler)]
@ -24,6 +22,8 @@ mod sync;
mod mm;
mod fs;
use core::arch::global_asm;
global_asm!(include_str!("entry.asm"));
global_asm!(include_str!("link_app.S"));
@ -54,4 +54,4 @@ pub fn rust_main() -> ! {
loader::list_apps();
task::run_tasks();
panic!("Unreachable in rust_main!");
}
}