rust/compiler/rustc_const_eval
Michael Goulet 12ba87b996
Rollup merge of #97395 - RalfJung:call-abi, r=oli-obk
Miri call ABI check: ensure type size+align stay the same

We should almost certainly not accept calls where caller and callee disagree on the size or alignment of the type.

The checks we do *almost* imply that, except that `ScalarPair` types can have `repr(align)` and thus differ in size/align even when they are pairs of the same primitive type.

r? ``@oli-obk``
2022-05-30 15:57:28 -07:00
..
src Rollup merge of #97395 - RalfJung:call-abi, r=oli-obk 2022-05-30 15:57:28 -07:00
Cargo.toml Initial fixes on top of type interner commit 2022-05-28 11:38:22 -07:00