Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make futures::task::noop_waker_ref available without std. #2505

Merged
merged 1 commit into from Oct 8, 2021
Merged

Make futures::task::noop_waker_ref available without std. #2505

merged 1 commit into from Oct 8, 2021

Conversation

kpreid
Copy link
Contributor

@kpreid kpreid commented Oct 8, 2021

#2332 removed the std dependency and some #[cfg(feature = "std")], but missed the one on the reexport from futures_util. This PR removes that cfg attribute, so noop_waker_ref should be equally available from all places it is reexported. I searched for other mentions of noop_waker_ref in this repository and did not find any other changes needed.

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.
@kpreid kpreid requested a review from taiki-e as a code owner Oct 8, 2021
taiki-e
taiki-e approved these changes Oct 8, 2021
Copy link
Member

@taiki-e taiki-e left a comment

Thanks!

@taiki-e taiki-e added 0.3-backport: pending A-task labels Oct 8, 2021
@taiki-e taiki-e merged commit ee23679 into rust-lang:master Oct 8, 2021
22 checks passed
taiki-e pushed a commit that referenced this issue Nov 23, 2021
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.
@taiki-e taiki-e mentioned this pull request Nov 23, 2021
@taiki-e taiki-e added 0.3-backport: completed and removed 0.3-backport: pending labels Nov 23, 2021
taiki-e pushed a commit that referenced this issue Nov 23, 2021
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.
taiki-e pushed a commit that referenced this issue Nov 23, 2021
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.
@taiki-e taiki-e mentioned this pull request Nov 23, 2021
@taiki-e
Copy link
Member

taiki-e commented Nov 23, 2021

Published in 0.3.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants