Skip to content

Commit d0d2f24

Browse files
committed
Upgrade to rust nightly 2022-05-10
Finally! Update the rust-toolchain file to reference the new nightly which can build for AVR again. Also update CI to use the new version. And finally, drop the note in the README about the old version being necessary.
1 parent 6760224 commit d0d2f24

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
uses: actions-rs/toolchain@v1
7171
with:
7272
profile: minimal
73-
toolchain: nightly-2021-01-07
73+
toolchain: nightly-2022-05-10
7474
override: true
7575
components: rust-src
7676
- name: Install avr-gcc, binutils, and libc

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Hardware Abstraction Layer for AVR microcontrollers and common boards (for examp
55
**This is a new version of `avr-hal`! Older versions can be found in the `old` branch but will no longer get support.**
66

77
## Quickstart
8-
You need a nightly Rust compiler for compiling Rust code for AVR. **Note**: Due to a regression, versions after `nightly-2021-01-07` are currently broken (see [#124](https://github.com/Rahix/avr-hal/issues/124)). Please use that version of the compiler for now. The correct version will be installed automatically.
8+
You need a nightly Rust compiler for compiling Rust code for AVR. The correct version will be installed automatically due to the `rust-toolchain.toml` file.
99

1010
On Ubuntu, you'll need to install dependencies:
1111

rust-toolchain.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2021-01-07"
2+
channel = "nightly-2022-05-10"
33
components = [ "rust-src" ]
4-
profile = "minimal"
4+
profile = "minimal"

0 commit comments

Comments
 (0)