diff options
| author | willmo <willmo@gmail.com> | 2018-07-07 20:09:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-07 20:09:34 -0700 |
| commit | e769deca998479c7b78931af45a26c6c822c74f7 (patch) | |
| tree | 58ca608a70663b84518e762183b6c5a0d991fa78 /src/rustllvm/RustWrapper.cpp | |
| parent | 9fd3d7899a444fe110ae9277542b306844ecf0c4 (diff) | |
| download | rust-e769deca998479c7b78931af45a26c6c822c74f7.tar.gz rust-e769deca998479c7b78931af45a26c6c822c74f7.zip | |
Add #[repr(transparent)] to Atomic* types
This allows them to be used in #[repr(C)] structs without warnings. Since rust-lang/rfcs#1649 and rust-lang/rust#35603 they are already documented to have "the same in-memory representation as" their corresponding primitive types. This just makes that explicit.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
