Skip to content

Commit

Permalink
Pin to a working nightly
Browse files Browse the repository at this point in the history
Temporarily modify rust-toolchain.toml to pin to `nightly-2022-08-26`,
as compilation is broken on current nightly due to
#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 #500 is fixed.
  • Loading branch information
nicholasbishop committed Sep 6, 2022
1 parent 26be890 commit c6088c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[toolchain]
# Nightly is required due to use of unstable features.
channel = "nightly"
# Pinned due to https://github.com/rust-osdev/uefi-rs/issues/500.
#
# Compilation started failing 2022-09-02. The previous several builds
# don't have miri available though, so pin to a slightly older version.
channel = "nightly-2022-08-26"

# Install the `rust-src` component so that `-Zbuild-std` works. This in
# addition to the components included in the default profile.
Expand Down
3 changes: 2 additions & 1 deletion template/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[toolchain]
channel = "nightly"
# Pinned due to https://github.com/rust-osdev/uefi-rs/issues/500.
channel = "nightly-2022-09-01"
components = ["rust-src"]

0 comments on commit c6088c0

Please sign in to comment.