]> git.lizzy.rs Git - rust.git/commit
Remove `#[repr(transparent)]` from atomics
authorAlex Crichton <alex@alexcrichton.com>
Wed, 5 Sep 2018 22:37:39 +0000 (15:37 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 5 Sep 2018 22:41:44 +0000 (15:41 -0700)
commit0338d340c4ad64dde20dfa5ab8b983861e58c631
treec15b244b5341f062e2ea16ba8a4b31a55043da7d
parent780b0c7bbfacc56f59a729881b5c95cd2c61ff97
Remove `#[repr(transparent)]` from atomics

Added in #52149 the discussion in #53514 is showing how we may not want to
actually add this attribute to the atomic types. While we continue to
debate #53514 this commit reverts the addition of the `transparent` attribute.
This should be a more conservative route which leaves us the ability to tweak
this in the future but in the meantime allows us to continue discussion as well.
src/libcore/sync/atomic.rs