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

chore: bump MSRV to 1.46 #4254

Merged
merged 4 commits into from
Nov 23, 2021
Merged

chore: bump MSRV to 1.46 #4254

merged 4 commits into from
Nov 23, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Nov 21, 2021

This is one of the preparations for #4135. (mio 0.8 requires Rust 1.46)

This also removes dependency on autocfg.

For MSRV policy:

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Nov 21, 2021
@@ -9,6 +9,7 @@ name = "tokio"
# - Create "v1.0.x" git tag.
version = "1.14.0"
edition = "2018"
rust-version = "1.46"
Copy link
Contributor

Choose a reason for hiding this comment

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

According to this page, this emits a warning on versions older than 1.56.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think this is a problem for the users, because warnings from dependencies will not be displayed. (e.g., syn has been using this field since 1.0.78, but if we build a crate that has syn as a dependency using an older compiler, we will not see the warning.)

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay. It seems like we don't get any failures in CI due to this warning either.

Copy link
Contributor

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Motivation seems good to me.

@taiki-e taiki-e merged commit cf32068 into master Nov 23, 2021
@taiki-e taiki-e deleted the taiki-e/msrv branch November 23, 2021 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants