about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authormsizanoen <msizanoen@qtmlabs.xyz>2023-09-03 15:58:21 +0700
committermsizanoen <msizanoen@qtmlabs.xyz>2023-09-19 12:06:33 +0200
commit751ecde0640f1d079515964e72e2646e82cb25f4 (patch)
tree2f04ddbee8e786e5505cd3f099a3520fa63e0daf /compiler/rustc_mir_transform/src/coverage/mod.rs
parentae9c330629f1fb03a636cb8af367fead024793db (diff)
downloadrust-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