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 async-await feature not depend on std feature #1815

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Aug 20, 2019

async-await feature depends on std feature because feature(async_await) is currently not available with no-std, but it would be preferable to separate these features because they might be usable with no-std in the future.

This currently only works for futures-util, but if #1805 or an alternative becomes available, it will work for futures as well.

Related: #1807

@cramertj cramertj merged commit ac96b3b into rust-lang:master Aug 20, 2019
@taiki-e taiki-e deleted the async-await-no-std branch August 20, 2019 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants