Skip to content

Commit

Permalink
Auto merge of #115987 - loongarch-rs:fix-transparent-union-abi, r=bjorn3
Browse files Browse the repository at this point in the history
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 rust-lang/rust#115509

r? `@bjorn3`
  • Loading branch information
bors committed Sep 20, 2023
2 parents 9ec9a5f + 4344fb1 commit 88a3753
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 88a3753

Please sign in to comment.