rust/library/core
Dylan DPC eaaf5d7e38
Rollup merge of #76965 - fusion-engineering-forks:fix-atomic-from-mut, r=Amanieu
Add cfg(target_has_atomic_equal_alignment) and use it for Atomic::from_mut.

Fixes some platform-specific problems with #74532 by using the actual alignment of the types instead of hardcoding a few `target_arch`s.

r? @RalfJung
2020-09-23 14:54:04 +02:00
..
benches flt2dec: properly handle uninitialized memory 2020-09-02 12:41:38 +02:00
src Rollup merge of #76965 - fusion-engineering-forks:fix-atomic-from-mut, r=Amanieu 2020-09-23 14:54:04 +02:00
tests Rollup merge of #76655 - CDirkx:const-pin, r=ecstatic-morse 2020-09-21 20:40:49 -07:00
Cargo.toml