packed_atomic/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#![no_std]
#![allow(unused)]

#[macro_use]
extern crate cfg_if as _;

#[macro_use]
extern crate core as _;

#[cfg(feature = "std")]
#[macro_use]
extern crate std as _;

cfg_if! {
    if #[cfg(feature = "std")] {
        pub use ::std::sync::atomic::*;
    } else {
        pub use ::core::sync::atomic::*;
    }
}