diff options
| author | WANG Rui <wangrui@loongson.cn> | 2023-09-11 16:05:49 +0800 |
|---|---|---|
| committer | WANG Rui <wangrui@loongson.cn> | 2023-09-20 09:22:02 +0800 |
| commit | 0163768e0d98ea41432f4c144d900e4865c5be39 (patch) | |
| tree | 8539880f4da6e36075d92b19bd1593886ddf5fa0 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | bdb0fa3ee5ffb4cc1a1b53cbe8344a2b83b1ae2a (diff) | |
| download | rust-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
