File tree 4 files changed +4
-16
lines changed
4 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,7 @@ cfg_if! {
73
73
}
74
74
}
75
75
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" ) ) ]
80
77
cfg_if ! {
81
78
if #[ cfg( any( feature = "alloc" , feature = "std" ) ) ] {
82
79
extern crate crossbeam_utils;
Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ cfg_if! {
18
18
}
19
19
}
20
20
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" ) ) ]
25
22
cfg_if ! {
26
23
if #[ cfg( any( feature = "alloc" , feature = "std" ) ) ] {
27
24
extern crate crossbeam_epoch as epoch;
Original file line number Diff line number Diff line change @@ -44,10 +44,7 @@ cfg_if! {
44
44
}
45
45
}
46
46
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" ) ) ]
51
48
pub mod atomic;
52
49
53
50
mod cache_padded;
Original file line number Diff line number Diff line change @@ -68,10 +68,7 @@ pub use _epoch::crossbeam_epoch as epoch;
68
68
69
69
extern crate crossbeam_utils;
70
70
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" ) ) ]
75
72
pub use crossbeam_utils:: atomic;
76
73
77
74
/// Miscellaneous utilities.
You can’t perform that action at this time.
0 commit comments