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

@ -1,5 +1,4 @@
#![no_std]
#![feature(asm)]
#![feature(linkage)]
#![feature(panic_info_message)]

View file

@ -1,3 +1,5 @@
use core::arch::asm;
const SYSCALL_WRITE: usize = 64;
const SYSCALL_EXIT: usize = 93;
const SYSCALL_YIELD: usize = 124;
@ -31,4 +33,4 @@ pub fn sys_yield() -> isize {
pub fn sys_get_time() -> isize {
syscall(SYSCALL_GET_TIME, [0, 0, 0])
}
}