Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to a recent rust compiler nightly #268

Merged
merged 2 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-01-07
toolchain: nightly-2022-05-10
override: true
components: rust-src
- name: Install avr-gcc, binutils, and libc
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Hardware Abstraction Layer for AVR microcontrollers and common boards (for examp
**This is a new version of `avr-hal`! Older versions can be found in the `old` branch but will no longer get support.**

## Quickstart
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.
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.

On Ubuntu, you'll need to install dependencies:

Expand Down
2 changes: 1 addition & 1 deletion avr-hal-generic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cfg-if = "0.1.7"
nb = "0.1.2"
ufmt = "0.1.0"
paste = "1.0.0"
avr-device = "0.3"
avr-device = "0.3.3"

[dependencies.embedded-hal]
version = "0.2.3"
Expand Down
4 changes: 2 additions & 2 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2021-01-07"
channel = "nightly-2022-05-10"
components = [ "rust-src" ]
profile = "minimal"
profile = "minimal"