AVR: Miscompilation with Trait Object in Option #74743
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
O-AVR
Target: AVR processors (ATtiny, ATmega, etc.)
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While playing around with async I stumbled upon an apparent miscomplation. I've tried to reduce it as much as possible and am now left with this:
Compiling and running under
simavr
, I see this code panicking:I should also note that while reducing the code, the error manifested itself in many different ways; it was not always panicking like shown above.
Meta
rustc --version --verbose
:cc @dylanmckay
The text was updated successfully, but these errors were encountered: