rust/compiler/rustc_span
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
..
src Rollup merge of #76965 - fusion-engineering-forks:fix-atomic-from-mut, r=Amanieu 2020-09-23 14:54:04 +02:00
Cargo.toml