about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorWANG Rui <wangrui@loongson.cn>2023-09-11 16:05:49 +0800
committerWANG Rui <wangrui@loongson.cn>2023-09-20 09:22:02 +0800
commit0163768e0d98ea41432f4c144d900e4865c5be39 (patch)
tree8539880f4da6e36075d92b19bd1593886ddf5fa0 /compiler/rustc_codegen_llvm/src/errors.rs
parentbdb0fa3ee5ffb4cc1a1b53cbe8344a2b83b1ae2a (diff)
downloadrust-0163768e0d98ea41432f4c144d900e4865c5be39.tar.gz
rust-0163768e0d98ea41432f4c144d900e4865c5be39.zip
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions