File tree Expand file tree Collapse file tree 4 files changed +4
-16
lines changed
Expand file tree Collapse file tree 4 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,7 @@ cfg_if! {
7373 }
7474}
7575
76- #[ cfg_attr(
77- feature = "nightly" ,
78- cfg( all( target_has_atomic = "cas" , target_has_atomic = "ptr" ) )
79- ) ]
76+ #[ cfg_attr( feature = "nightly" , cfg( target_has_atomic = "ptr" ) ) ]
8077cfg_if ! {
8178 if #[ cfg( any( feature = "alloc" , feature = "std" ) ) ] {
8279 extern crate crossbeam_utils;
Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ cfg_if! {
1818 }
1919}
2020
21- #[ cfg_attr(
22- feature = "nightly" ,
23- cfg( all( target_has_atomic = "cas" , target_has_atomic = "ptr" ) )
24- ) ]
21+ #[ cfg_attr( feature = "nightly" , cfg( target_has_atomic = "ptr" ) ) ]
2522cfg_if ! {
2623 if #[ cfg( any( feature = "alloc" , feature = "std" ) ) ] {
2724 extern crate crossbeam_epoch as epoch;
Original file line number Diff line number Diff line change @@ -44,10 +44,7 @@ cfg_if! {
4444 }
4545}
4646
47- #[ cfg_attr(
48- feature = "nightly" ,
49- cfg( all( target_has_atomic = "cas" , target_has_atomic = "ptr" ) )
50- ) ]
47+ #[ cfg_attr( feature = "nightly" , cfg( target_has_atomic = "ptr" ) ) ]
5148pub mod atomic;
5249
5350mod cache_padded;
Original file line number Diff line number Diff line change @@ -68,10 +68,7 @@ pub use _epoch::crossbeam_epoch as epoch;
6868
6969extern crate crossbeam_utils;
7070
71- #[ cfg_attr(
72- feature = "nightly" ,
73- cfg( all( target_has_atomic = "cas" , target_has_atomic = "ptr" ) )
74- ) ]
71+ #[ cfg_attr( feature = "nightly" , cfg( target_has_atomic = "ptr" ) ) ]
7572pub use crossbeam_utils:: atomic;
7673
7774/// Miscellaneous utilities.
You can’t perform that action at this time.
0 commit comments