Skip to content

Commit

Permalink
examples: Pin proc-macro2 dependency
Browse files Browse the repository at this point in the history
See <Rahix/avr-hal#537> for details.
  • Loading branch information
Rahix committed May 4, 2024
1 parent 02ec168 commit 716ce6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/atmega328p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ version = "0.5.3"
# path = "../.."
features = ["atmega328p", "rt"]

# The latest releases of `proc-macro2` do not support the rust toolchain that
# we use. Thus, we must fix this dependency to an older version where our
# toolchain is still supported. See https://github.com/Rahix/avr-hal/issues/537
[build-dependencies.proc-macro2]
version = "=1.0.79"

# Configure the build for minimal size - AVRs have very little program memory
[profile.dev]
panic = "abort"
Expand Down

0 comments on commit 716ce6a

Please sign in to comment.