This commit is contained in:
jtnunley 2022-08-29 08:25:55 -07:00
parent 328b493cb5
commit 196cc2db49
1 changed files with 2 additions and 2 deletions

View File

@ -17,10 +17,10 @@ use core::fmt;
use core::sync::atomic::Ordering::{AcqRel, Acquire, Release};
use core::task::Waker;
#[cfg(feature = "portable-atomic")]
use portable_atomic::AtomicUsize;
#[cfg(not(feature = "portable-atomic"))]
use core::sync::atomic::AtomicUsize;
#[cfg(feature = "portable-atomic")]
use portable_atomic::AtomicUsize;
/// A synchronization primitive for task wakeup.
///