Skip to content

Commit

Permalink
Make futures::task::noop_waker_ref available without std. (#2505)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kpreid committed Oct 8, 2021
1 parent 939614b commit ee23679
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion futures-util/src/task/mod.rs
Expand Up @@ -16,7 +16,6 @@ pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
pub use futures_task::{FutureObj, LocalFutureObj, LocalSpawn, Spawn, SpawnError, UnsafeFutureObj};

pub use futures_task::noop_waker;
#[cfg(feature = "std")]
pub use futures_task::noop_waker_ref;

#[cfg(not(futures_no_atomic_cas))]
Expand Down

0 comments on commit ee23679

Please sign in to comment.