-
Notifications
You must be signed in to change notification settings - Fork 3
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
Decide on a rust version support policy #4
Comments
This came up in nix-rust/nix#666, which wants to up the Rust version to 1.15 to use I found this issue and thought it'd be nice to actually state a policy on this. Does anyone have some thoughts on this? The minimum supported Rust version has come up in a few crates that I follow and while everyone wants to support older versions, I've never seen a user complain about being stuck on an older version. I think Rust's upgrade story is so nice compared to other languages and their toolchains that it's less of a burden requiring people to upgrade. cc @asomers |
I like the idea of having the same support policy as libc. Consistency is good for our users. It looks like libc now runs Travis on stable and 1.0.0, though they don't do the full CI on 1.0.0. We certainly can't support 1.0.0. In terms of our other dependencies, bitflags and cfg-if only test on stable. void tests on 1.0.0. So our 1.13.0 builds might suddenly break if we ever upgrade bitflags or cfg-if. But I don't foresee any need to do that anytime soon. |
|
What do you mean? I don't think we've ever precluded updating our dependencies in this discussion. The comment @asomers was making was that our dependencies don't have the same Rust version guarantees (or at least don't test theirs in CI) we have so it might have issues if we ever need to update our dependency versions. |
Well, I just meant that we may want to update the things just to get new features or performance improvements. Anyway, what about the policy? With #666 getting slowly finalized, I need to know if I should uncomment or delete the convenience trait. |
I'm actually of the opinion that incrementing versions as needed for functionality as we go is the right policy but making it so that we never go past stable - 2. So currently we could bump everything to 1.18 for the next version. I didn't see what version you needed for rust-lang/nix#666, but if it makes the API nicer with minimal downsides besides the version bump then we should do it. I guess I should write this up as a proper RFC. |
Sounds great! :) |
Yes. Bumping Rust versions is just one on a per-PR basis. It'd be good to have the work that requires it as a separate commit if that is easy to read. And be sure to update the README documenting the necessary Rust version! |
Upgrading the FreeBSD buildbots can't be done through GitHub, so please open a new issue to upgrade them to Rust 1.15 and assign it to me. |
Essentially migrate from nix-rust/nix#238.
The text was updated successfully, but these errors were encountered: