rust/compiler/rustc_middle
Guillaume Gomez edd7be59da
Rollup merge of #115499 - msizanoen1:riscv-fix-transparent-union-abi, r=bjorn3
rustc_target/riscv: Fix passing of transparent unions with only one non-ZST member

This ensures that `MaybeUninit<T>` has the same ABI as `T` when passed through an `extern "C"` function.

Fixes https://github.com/rust-lang/rust/issues/115481.

r? `@RalfJung`
2023-09-19 20:23:19 +02:00
..
src Rollup merge of #115499 - msizanoen1:riscv-fix-transparent-union-abi, r=bjorn3 2023-09-19 20:23:19 +02:00
Cargo.toml
messages.ftl don't point at const usage site for resolution-time errors 2023-09-14 22:34:05 +02:00
README.md

For more information about how rustc works, see the rustc dev guide.