From bb98f7f88c9e24f9d88a6eaea32f1062b93f1dd8 Mon Sep 17 00:00:00 2001 From: Yifan Wu Date: Wed, 20 Oct 2021 13:38:16 -0700 Subject: [PATCH] rust->nightly-2021-10-15,cargo-binutils->0.3.3 --- os/Makefile | 2 +- os/src/fs/inode.rs | 4 ++-- rust-toolchain | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/os/Makefile b/os/Makefile index 864a4e43..e3434de3 100644 --- a/os/Makefile +++ b/os/Makefile @@ -43,7 +43,7 @@ endif env: (rustup target list | grep "riscv64gc-unknown-none-elf (installed)") || rustup target add $(TARGET) - cargo install cargo-binutils --vers ~0.2 + cargo install cargo-binutils --vers =0.3.3 rustup component add rust-src rustup component add llvm-tools-preview diff --git a/os/src/fs/inode.rs b/os/src/fs/inode.rs index f03225b6..8e644066 100644 --- a/os/src/fs/inode.rs +++ b/os/src/fs/inode.rs @@ -65,7 +65,7 @@ pub fn list_apps() { for app in ROOT_INODE.ls() { println!("{}", app); } - println!("**************/") + println!("**************/"); } bitflags! { @@ -156,4 +156,4 @@ impl File for OSInode { } total_write_size } -} \ No newline at end of file +} diff --git a/rust-toolchain b/rust-toolchain index 1c5af266..fd472758 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2021-08-25 +nightly-2021-10-15