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

Move non-stable Rust features behind Cargo features #1555

Merged
merged 3 commits into from
Apr 26, 2019

Conversation

Nemo157
Copy link
Member

@Nemo157 Nemo157 commented Apr 25, 2019

This gets the crates to a point where they should compile on stable 1.36 when it is released. The travis jobs have been updated to make the compiler act like a stable compiler where possible to catch any regressions.

futures-util/Cargo.toml Outdated Show resolved Hide resolved
futures-util/Cargo.toml Outdated Show resolved Hide resolved
@@ -2,7 +2,7 @@
//! and the `AsyncRead` and `AsyncWrite` traits.

#![cfg_attr(feature = "alloc", feature(box_into_pin))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

box_into_pin is also an unstable feature.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😲 why is this not failing in travis then.

Oh, allow-features is only for language features. Is there any way to deny library features as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I don't believe so-- seems like a reasonable thing to add to allow-features (cc @tmandry).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cramertj
Copy link
Member

Looks like there are some conflicts with master-- will merge when those are resolved. Thanks again for this-- it's super exciting! :)

@Nemo157
Copy link
Member Author

Nemo157 commented Apr 26, 2019

@cramertj rebased

@sdroege
Copy link
Contributor

sdroege commented Apr 26, 2019

Is there a plan to put a new alpha release on crates.io once this is merged?

@cramertj cramertj merged commit 827cfa6 into rust-lang:master Apr 26, 2019
@cramertj
Copy link
Member

@sdroege Yup, I'll get a new alpha release out today.

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.

5 participants