Rollup merge of #130690 - RalfJung:interpret-abi-compat-fixme, r=jieyouxu

interpret: remove outdated FIXME

The rule about `repr(C)` types with compatible fields got removed from the ABI compat docs before they landed, so this FIXME here is no longer correct. (So this is basically a follow-up to https://github.com/rust-lang/rust/pull/130185, doing some more cleanup around deciding not to guarantee ABI compatibility for structurally compatible `repr(C)` types.)
This commit is contained in:
Guillaume Gomez 2024-09-22 19:19:15 +02:00 committed by GitHub
commit f40efa44ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,7 +221,6 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> {
}
// Fall back to exact equality.
// FIXME: We are missing the rules for "repr(C) wrapping compatible types".
Ok(caller == callee)
}