@@ -125,7 +125,7 @@ pub use futures_util::{pending, poll, join, try_join, select_biased}; // Async-a
125
125
#[ cfg( feature = "async-await" ) ]
126
126
pub use futures_util:: select;
127
127
128
- #[ cfg( has_atomic_cas ) ]
128
+ #[ cfg( not ( no_atomic_cas ) ) ]
129
129
#[ cfg( feature = "alloc" ) ]
130
130
pub mod channel {
131
131
//! Cross-task communication.
@@ -286,7 +286,7 @@ pub mod future {
286
286
select_ok, SelectOk ,
287
287
} ;
288
288
289
- #[ cfg( has_atomic_cas ) ]
289
+ #[ cfg( not ( no_atomic_cas ) ) ]
290
290
#[ cfg( feature = "alloc" ) ]
291
291
pub use futures_util:: future:: {
292
292
abortable, Abortable , AbortHandle , AbortRegistration , Aborted ,
@@ -347,7 +347,7 @@ pub mod io {
347
347
pub use futures_util:: io:: WriteAllVectored ;
348
348
}
349
349
350
- #[ cfg( has_atomic_cas ) ]
350
+ #[ cfg( not ( no_atomic_cas ) ) ]
351
351
#[ cfg( feature = "alloc" ) ]
352
352
pub mod lock {
353
353
//! Futures-powered synchronization primitives.
@@ -473,7 +473,7 @@ pub mod stream {
473
473
Chunks , ReadyChunks ,
474
474
} ;
475
475
476
- #[ cfg( has_atomic_cas ) ]
476
+ #[ cfg( not ( no_atomic_cas ) ) ]
477
477
#[ cfg( feature = "alloc" ) ]
478
478
pub use futures_util:: stream:: {
479
479
FuturesOrdered ,
@@ -492,7 +492,7 @@ pub mod stream {
492
492
CatchUnwind ,
493
493
} ;
494
494
495
- #[ cfg( has_atomic_cas ) ]
495
+ #[ cfg( not ( no_atomic_cas ) ) ]
496
496
#[ cfg( feature = "alloc" ) ]
497
497
pub use futures_util:: stream:: {
498
498
// For TryStreamExt:
@@ -531,11 +531,11 @@ pub mod task {
531
531
#[ cfg( feature = "alloc" ) ]
532
532
pub use futures_util:: task:: { SpawnExt , LocalSpawnExt } ;
533
533
534
- #[ cfg( has_atomic_cas ) ]
534
+ #[ cfg( not ( no_atomic_cas ) ) ]
535
535
#[ cfg( feature = "alloc" ) ]
536
536
pub use futures_util:: task:: { waker, waker_ref, WakerRef , ArcWake } ;
537
537
538
- #[ cfg( has_atomic_cas ) ]
538
+ #[ cfg( not ( no_atomic_cas ) ) ]
539
539
pub use futures_util:: task:: AtomicWaker ;
540
540
}
541
541
0 commit comments