diff options
| author | bors <bors@rust-lang.org> | 2019-06-16 17:48:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-06-16 17:48:24 +0000 |
| commit | 799cf3f603b5809a68853efcd779671cb8e046c4 (patch) | |
| tree | 0577bb01d056e2191b1939b017699517e6245012 /src/test/ui/thinlto | |
| parent | e3175c34b4211d219f114d6dc608194ebaf03c44 (diff) | |
| parent | 3fa7411050e5f712c28b6e97346e9da3833407bb (diff) | |
| download | rust-799cf3f603b5809a68853efcd779671cb8e046c4.tar.gz rust-799cf3f603b5809a68853efcd779671cb8e046c4.zip | |
Auto merge of #61881 - glaubitz:sparc64-ffi-abi, r=petrochenkov
librustc_codegen_llvm: Use repr(transparent) for bitflags over repr(C… …) (#61306) In order to make sure that Rust's bitflags types are passed the same way in the Rust ABI as they are in the C ABI, we need to use the attribute repr(transparent) over the repr(C) attribute for the single-field bitflags structs in in order to prevent ABI mismatches. Thanks to Michael Karcher for finding this bug.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
