mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-25 19:03:35 +04:00
Update rustc && rustsbi; llvm_asm -> asm
This commit is contained in:
parent
9f5ed6adb4
commit
6d550620b1
@ -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.
@ -1 +1 @@
|
||||
nightly
|
||||
nightly-2021-08-25
|
||||
|
@ -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
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
#![feature(llvm_asm)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate user_lib;
|
||||
|
Loading…
Reference in New Issue
Block a user