Release build crashes
thejpster opened this issue · 1 comments
thejpster commented
If I build this project with --release for thumbv7em-none-eabi, I end up in the Hardfault handler.
If I add an asm::nop(); to the loop { } in main, it works fine. It's fine as a debug either with or without the asm::nop().
I'm using a TM4C129 Launchpad, but haven't extern'd in a chip crate yet. I've attached the generated assembly.
jonas-schievink commented
This is likely to be caused by rust-lang/rust#28728