rust-embedded / embedded-hal

A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
1.95k stars 197 forks source link

Error: out of range branch target (expected an integer in the range -4096 to 4095 #623

Closed arichtman closed 1 month ago

arichtman commented 1 month ago

Not really sure how this is happening - I emptied all other dependencies and the main.rs file and I'm still getting this error, which narrows it down as much as I can to embedded-hal?

Error: out of range branch target (expected an integer in the range -4096 to 4095

Minimal reproduction is here

https://github.com/arichtman/attiny85-clap-switch/commit/9ee89d19660c3745600013b04a11ac3c19e4c06a