Skip to content

Commit 44e1684

Browse files
kpreidtaiki-e
authored andcommitted
Make futures::task::noop_waker_ref available without std. (#2505)
Commit 232ed5f removed the std dependency, and 4c09f82 made it exported unconditionally from `futures_task`, but the `cfg` on the reexport from `futures_util` (and hence indirectly `futures`) was left in place until now.
1 parent 1541b3b commit 44e1684

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

futures-util/src/task/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
1616
pub use futures_task::{FutureObj, LocalFutureObj, LocalSpawn, Spawn, SpawnError, UnsafeFutureObj};
1717

1818
pub use futures_task::noop_waker;
19-
#[cfg(feature = "std")]
2019
pub use futures_task::noop_waker_ref;
2120

2221
#[cfg(not(futures_no_atomic_cas))]

0 commit comments

Comments
 (0)