mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-24 18:36:24 +04:00
Bump to rust nightly-2022-01-01, feature global_asm,asm->stable
This commit is contained in:
parent
c5a0e2c9d0
commit
d675f8e4ca
@ -1,9 +1,9 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![feature(global_asm)]
|
||||
#![feature(asm)]
|
||||
#![feature(panic_info_message)]
|
||||
|
||||
use core::arch::global_asm;
|
||||
|
||||
#[macro_use]
|
||||
mod console;
|
||||
mod lang_items;
|
||||
|
@ -1,5 +1,7 @@
|
||||
#![allow(unused)]
|
||||
|
||||
use core::arch::asm;
|
||||
|
||||
const SBI_SET_TIMER: usize = 0;
|
||||
const SBI_CONSOLE_PUTCHAR: usize = 1;
|
||||
const SBI_CONSOLE_GETCHAR: usize = 2;
|
||||
|
@ -1 +1 @@
|
||||
nightly-2021-12-15
|
||||
nightly-2022-01-01
|
||||
|
Loading…
Reference in New Issue
Block a user