mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
ad36b5a622
rustc_target/loongarch: 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/115509 r? `@bjorn3`