Skip to content

Commit 6ad9bfc

Browse files
committed
Switch to specific rust nightly version
Until macOS build is fixed, see rust-lang/rust#76698 Explain rust version requirements in README.
1 parent d62bbb1 commit 6ad9bfc

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434
- name: Set Rustup profile to minimal
3535
run: rustup set profile minimal
3636

37-
- name: "Switch to Rust nightly"
38-
run: rustup default nightly
37+
- name: "Switch to Rust nightly-2020-09-11"
38+
run: |
39+
rustup install nightly-2020-09-11
40+
rustup default nightly-2020-09-11
3941
4042
- name: "Print Rust Version"
4143
run: |

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ Vesper has been influenced by the kernels in L4 family, notably seL4. Fawn and N
3030

3131
## Build instructions
3232

33-
Use rustc nightly 2020-07-15 with cargo nightly of the same or later date.
33+
Use at least rustc nightly 2020-07-15 with cargo nightly of the same or later date. It adds support for `cargo build --build-std` feature.
34+
35+
Currently, we are bound to version not later than `nightly-2020-09-11` until [this bug](https://github.com/rust-lang/rust/issues/76698) is fixed for macOS.
3436

3537
Install tools: `cargo install just cargo-make`.
3638
Install qemu (at least version 4.1.1): `brew install qemu`.

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly
1+
nightly-2020-09-11

0 commit comments

Comments
 (0)