]> git.lizzy.rs Git - rust.git/commit
Gate Atomic::from_mut on cfg(target_has_atomic_equal_alignment).
authorMara Bos <m-ou.se@m-ou.se>
Sun, 20 Sep 2020 10:14:41 +0000 (12:14 +0200)
committerMara Bos <m-ou.se@m-ou.se>
Mon, 21 Sep 2020 18:43:44 +0000 (20:43 +0200)
commit7a04ff6c33c8bc9b8b1012e12a9920df52956e2f
tree57e6eee2e171ab169e6a2e6150fdd6c0f131d036
parent668225d157d91e5c55a02aa7abc1b65ec9690ffa
Gate Atomic::from_mut on cfg(target_has_atomic_equal_alignment).

Instead of a few hardcoded cfg(target_arch = ..) like before.
library/core/src/sync/atomic.rs