File tree 2 files changed +5
-0
lines changed 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ exclude = [".*"]
35
35
# From 1.61.0, Rust supports generic types with trait bounds in `const fn`.
36
36
zerocopy-generic-bounds-in-const-fn = " 1.61.0"
37
37
38
+ # From 1.60.0, Rust supports detecting if a target supports atomics, so we can
39
+ # reliably implement traits on the Atomic* types.
40
+ zerocopy-atomics = " 1.60.0"
41
+
38
42
# When the "simd" feature is enabled, include SIMD types from the
39
43
# `core::arch::aarch64` module, which was stabilized in 1.59.0. On earlier Rust
40
44
# versions, these types require the "simd-nightly" feature.
Original file line number Diff line number Diff line change @@ -278,6 +278,7 @@ extern crate self as zerocopy;
278
278
#[ macro_use]
279
279
mod macros;
280
280
281
+ #[ cfg( zerocopy_atomics) ]
281
282
mod atomics;
282
283
pub mod byteorder;
283
284
mod deprecated;
You can’t perform that action at this time.
0 commit comments