-
Notifications
You must be signed in to change notification settings - Fork 67
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
async-io now fails to compile on 1.46 #93
Comments
Pinning once_cell would force us to maintain multiple versions of once_cell. |
The third option is vendoring our own version of |
An alternative solution is to:
once_cell itself uses this approach: |
I'd be fine with this solution, although in practice it means bumping the MSRV and having users on lower rustc versions have to hack their files to get things working. My personal vote is for bumping the MSRV. It's the direction that the rest of the ecosystem is headed in; IIRC libc is planning to bump to a 1.5x version soon. In addition, the next Debian stable version won't be out for another year or so, and I don't think that we should wait for that to bump up. As the rest of the ecosystem continues to evolve, sticking to older versions will quickly cause us to become out of date. @smol-rs/admins What are your thoughts on this? |
👍 |
I would like to switch to The approach proposed by @matklad (Cargo.lock.msrv) looks fine from a maintenance cost point of view, but looks bad from the user's point of view because it is not clear which dependencies' latest versions have higher MSRVs. (In other words, it is difficult for a user to actually build that crate on MSRV because it is not clear what action is required for the user to get the MSRV that the crate claims. Even if we add docs on the |
That's actually a better idea. We already maintain our own version of |
toml_edit requires it. ``` error: package `toml_edit v0.19.15` cannot be built because it requires rustc 1.66.0 or newer, while the currently active rustc version is 1.65.0 ```
With the new release of
once_cell
1.15, the MSRV had been increased to 1.56 and the edition has been bumped to 2021. This meansasync-io
, which depends ononce_cell
, no longer builds on 1.46:I see two options:
once_cell
version to1.14.x
. This would keep our MSRV at 1.46, but prevent us from receiving any newonce_cell
updates.See also: matklad/once_cell#201
The text was updated successfully, but these errors were encountered: