fmt
This commit is contained in:
parent
328b493cb5
commit
196cc2db49
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue