Skip to content

Commit c083e9a

Browse files
Pin to a working nightly
Temporarily modify rust-toolchain.toml to pin to `nightly-2022-08-26`, as compilation is broken on current nightly due to rust-osdev#500. `nightly-2022-09-01` is the most recent nightly that avoids the bug, but it doesn't have miri (which is run by CI), so pin to a slightly older version. Also pinned the toolchain in the template app. This change should be reverted once rust-osdev#500 is fixed.
1 parent ad7a212 commit c083e9a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

rust-toolchain.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[toolchain]
2-
# Nightly is required due to use of unstable features.
3-
channel = "nightly"
2+
# Pinned due to https://github.com/rust-osdev/uefi-rs/issues/500.
3+
#
4+
# Compilation started failing 2022-09-02. The previous several builds
5+
# don't have miri available though, so pin to a slightly older version.
6+
channel = "nightly-2022-08-26"
47
profile = "default"
58
components = [
69
# Needed for `cargo xtask miri`.

template/rust-toolchain.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[toolchain]
2-
channel = "nightly"
2+
# Pinned due to https://github.com/rust-osdev/uefi-rs/issues/500.
3+
channel = "nightly-2022-09-01"
34
components = ["rust-src"]

0 commit comments

Comments
 (0)