Skip to content

Update minimum Rustc version (MSVR) to 1.46.0 #1432

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

Merged
merged 2 commits into from
Jan 5, 2021

Conversation

Thomasdezeeuw
Copy link
Collaborator

Rustc was release on 27th of August 2020: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1460-2020-08-27, the main benefit was additional support for const functions and #[track_caller] attribute.

This is also required for socket2, which currently requires 1.42.

It uses `features = "..."`, which should have been `feature = "..."`
(not ending with an 's').
@Kestrer
Copy link

Kestrer commented Jan 5, 2021

Tokio's minimum supported Rust version is currently 1.45, and the precedent is that it requires a breaking change to update.

Edit: apparently the policy is six months, although that's not mentioned in the README. So it might be OK after all.

@Darksonn
Copy link
Contributor

Darksonn commented Jan 5, 2021

It is mentioned in the release blog post: https://tokio.rs/blog/2020-12-tokio-1-0

Would be good to add it to the readme too.

@Thomasdezeeuw
Copy link
Collaborator Author

If someone can give this a +1 than I'm merging it. Tokio can start using Mio v0.8 after Feb 26th in compliance with the 6 month policy.

@Thomasdezeeuw Thomasdezeeuw merged commit 5c577ef into tokio-rs:master Jan 5, 2021
@Thomasdezeeuw Thomasdezeeuw deleted the update_rustc_version branch January 5, 2021 23:45
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.

3 participants