Update rustc && rustsbi; llvm_asm -> asm

This commit is contained in:
Yifan Wu 2021-08-26 19:32:49 +08:00
parent 9f5ed6adb4
commit 6d550620b1
6 changed files with 5 additions and 10 deletions

View File

@ -5,12 +5,8 @@ rCore-Tutorial version 3.x
### Binaries
* rustc 1.56.0-nightly (08095fc1f 2021-07-26)
* rustc 1.56.0-nightly (b03ccace5 2021-08-24)
* qemu: 5.0.0
* rustsbi-lib: 0.2.0-alpha.4
rustsbi-qemu: d4968dd2
rustsbi-k210: b689314e
* rustsbi: qemu[7d71bfb7] k210[563144b0]

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
nightly
nightly-2021-08-25

View File

@ -1,6 +1,6 @@
#![no_std]
#![no_main]
#![feature(llvm_asm)]
#![feature(asm)]
#[macro_use]
extern crate user_lib;
@ -9,7 +9,7 @@ extern crate user_lib;
fn main() -> i32 {
println!("Hello, world!");
unsafe {
llvm_asm!("sret");
asm!("sret");
}
0
}

View File

@ -1,6 +1,5 @@
#![no_std]
#![no_main]
#![feature(llvm_asm)]
#[macro_use]
extern crate user_lib;