Miscompilation of a program projecting field of an extern type #127336
Labels
A-mir-opt
Area: MIR optimizations
C-bug
Category: This is a bug.
F-extern_types
`#![feature(extern_types)]`
I-miscompile
Issue: Correct Rust code lowers to incorrect machine code
I-unsound
Issue: A soundness hole (worst kind of bug), see: https://en.wikipedia.org/wiki/Soundness
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.
T-opsem
Relevant to the opsem team
Since #118534 projecting a field of an extern type at non-zero offset panics. MIR transformations do not understand this:
The text was updated successfully, but these errors were encountered: