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

This commit is contained in:
Yifan Wu 2022-01-01 01:42:53 -08:00
parent f7870ff392
commit cace5043d6
8 changed files with 14 additions and 8 deletions

View file

@ -18,6 +18,7 @@ use crate::task::{
suspend_current_and_run_next,
};
use crate::timer::set_next_trigger;
use core::arch::global_asm;
global_asm!(include_str!("trap.S"));
@ -61,4 +62,4 @@ pub fn trap_handler(cx: &mut TrapContext) -> &mut TrapContext {
cx
}
pub use context::TrapContext;
pub use context::TrapContext;