rust-embedded / embedded-hal

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

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

Closed arichtman closed 3 months ago

arichtman commented 3 months 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