You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Targetting ESP32 with opt-level 0, under some circumstances calling the same function twice doesn't work. It seems the function address register, in the case of my reproducible setup, a8 gets clobbered even though it's used again later.
Targetting ESP32 with opt-level 0, under some circumstances calling the same function twice doesn't work. It seems the function address register, in the case of my reproducible setup, a8 gets clobbered even though it's used again later.
The Rust code looks like:
On the second call, it crashes.
Seems 1.67 has exposed this bug in the LLVM backend.
workarounds
Any opt-level != 0 seems to work fine.
The text was updated successfully, but these errors were encountered: