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

Fix: The alloc crate uses the Rust 2021 edition now #105

Merged
merged 2 commits into from
Jun 21, 2022

Conversation

phil-opp
Copy link
Member

The alloc library was switched to the 2021 edition in rust-lang/rust#92068. However, it did not use any features of the new edition until PR rust-lang/rust#98103, which relies on the newer closure capture mechanism. This commit fixes the build on the latest nightlies, which include that PR.

Fixes #104

phil-opp added 2 commits June 21, 2022 10:02
The alloc library was switched to the 2021 edition in <rust-lang/rust#92068>. However, it did not use any features of the new edition until PR <rust-lang/rust#98103>, which relies on the newer closure capture mechanism. This commit fixes the build on the latest nightlies, which include that PR.

Fixes #104
@phil-opp phil-opp merged commit 6432959 into master Jun 21, 2022
@phil-opp phil-opp deleted the alloc-2021-edition branch June 21, 2022 08:10
@phil-opp
Copy link
Member Author

Published as v0.6.6

phil-opp added a commit that referenced this pull request Jun 21, 2022
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.

Building alloc fails since nightly 2022-06-17
1 participant