Skip to content

Commit a190a7e

Browse files
committed
fix no-std test
1 parent f01641e commit a190a7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

futures-executor/src/local_pool.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl Wake for ThreadNotify {
6464
fn wake(self: Arc<Self>) {
6565
self.wake_by_ref();
6666
}
67-
67+
6868
fn wake_by_ref(self: &Arc<Self>) {
6969
// Make sure the wakeup is remembered until the next `park()`.
7070
let unparked = self.unparked.swap(true, Ordering::Relaxed);

futures/tests/no-std/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub use futures_core::task::__internal::AtomicWaker as _;
88

99
#[cfg(feature = "futures-task-alloc")]
1010
#[cfg(target_has_atomic = "ptr")]
11-
pub use futures_task::ArcWake as _;
11+
pub use futures_task::task::Wake as _;
1212

1313
#[cfg(feature = "futures-channel-alloc")]
1414
#[cfg(target_has_atomic = "ptr")]

0 commit comments

Comments
 (0)