// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! Atomic shim that switches between `core::sync::atomic` and
//! `loom::sync::atomic` under `cfg(loom)`.
#[cfg(not(loom))]pub(crate)usecore::sync::atomic::{AtomicPtr, AtomicU8, AtomicU16, AtomicUsize, Ordering, fence};#[cfg(loom)]pub(crate)useloom::sync::atomic::{AtomicPtr, AtomicU8, AtomicU16, AtomicUsize, Ordering, fence};