From c7d736acd4acca7ed2b1dcd8cf1e6bb18efe87d2 Mon Sep 17 00:00:00 2001 From: WangRunji Date: Fri, 15 Feb 2019 20:11:27 +0800 Subject: [PATCH] use rust-toolchain file instead of rustup override --- .travis.yml | 2 +- README.md | 3 +-- rust-toolchain | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 rust-toolchain diff --git a/.travis.yml b/.travis.yml index 02df662..8b2e7ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ dist: xenial language: rust -rust: nightly-2019-02-15 +rust: nightly-2019-02-16 os: - linux diff --git a/README.md b/README.md index 2ecc046..1b23e0d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Tested boards: QEMU, labeled-RISCV, K210, Raspberry Pi 3B+ ### Environment -* [Rust](https://www.rust-lang.org) toolchain at nightly-2019-02-15 +* [Rust](https://www.rust-lang.org) toolchain at nightly-2019-02-16 * Cargo tools: [cargo-xbuild](https://github.com/rust-osdev/cargo-xbuild) * [QEMU](https://www.qemu.org) >= 3.1.0 * [bootimage](https://github.com/rust-osdev/bootimage) (for x86_64) @@ -39,7 +39,6 @@ cargo install cargo-xbuild bootimage ```bash git clone https://github.com/oscourse-tsinghua/rcore_plus.git --recursive cd rcore_plus/kernel -rustup override set nightly-2019-02-15 make run arch={riscv32,riscv64,x86_64,aarch64} ``` diff --git a/rust-toolchain b/rust-toolchain new file mode 100644 index 0000000..49db8e4 --- /dev/null +++ b/rust-toolchain @@ -0,0 +1 @@ +nightly-2019-02-16