diff options
| author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-06-28 08:06:36 +0200 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2024-06-28 10:26:45 +0200 |
| commit | ab1b48ef2ae06fe9cb0d11632255ac0ab9fff528 (patch) | |
| tree | c06034d2e027ea9c29ba2bb46307c37d5f90aea7 /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | 9c3bc805dd9cb84019c124b9a50fdff1e62a7ec9 (diff) | |
| download | rust-ab1b48ef2ae06fe9cb0d11632255ac0ab9fff528.tar.gz rust-ab1b48ef2ae06fe9cb0d11632255ac0ab9fff528.zip | |
rustc_data_structures: Explicitly check for 64-bit atomics support
Instead of keeping a list of architectures which have native support for 64-bit atomics, just use #[cfg(target_has_atomic = "64")] and its inverted counterpart to determine whether we need to use portable AtomicU64 on the target architecture.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
