diff options
| author | msizanoen <msizanoen@qtmlabs.xyz> | 2023-09-03 15:58:21 +0700 |
|---|---|---|
| committer | msizanoen <msizanoen@qtmlabs.xyz> | 2023-09-19 12:06:33 +0200 |
| commit | 751ecde0640f1d079515964e72e2646e82cb25f4 (patch) | |
| tree | 2f04ddbee8e786e5505cd3f099a3520fa63e0daf /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | ae9c330629f1fb03a636cb8af367fead024793db (diff) | |
| download | rust-751ecde0640f1d079515964e72e2646e82cb25f4.tar.gz rust-751ecde0640f1d079515964e72e2646e82cb25f4.zip | |
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
