This repository was archived by the owner on Oct 30, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This removes all occurrences of the futures_api feature flag.
Motivation and Context
Since rust-lang/rust#59739 has been merged it should no longer be necessary to specify the futures_api feature flag. The minimal nightly version required is
rustc 1.36.0-nightly (e305df184 2019-04-24)
.Building the runtime crate using this nightly version otherwise shows:
FYI: Also see this pull request:
https://github.com/rust-lang-nursery/futures-rs/pull/1546/files
Types of changes
I think this in a way a breaking change as it changes the error behavior of rust stable and nightly versions that are older than nightly 2019-04-24. Nevertheless since the features async_await and await_macro are not yet stabilized in stable < 1.36 the error that nightly rust is required should still be shown, just not specifically mentioning the futures_api feature.