-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Use Specific Rust Version in FreeBSD CI #1337
Conversation
d5cf4cc
to
b99615f
Compare
Signed-off-by: Sandro-Alessio Gierens <[email protected]>
b99615f
to
6b69a99
Compare
@cafkafk alright this seems to fix the FreeBSD CI issues as well. Should we merge this as is, or use a Rust version matrix for BSD as well, what do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we merge this as is, or use a Rust version matrix for BSD as well, what do you think?
version matrix does sound nice... but we can do that after, let's get the fix merged first, then it can be followed up
Also LGTM, nice you found a fix!
Thanks for this. The reason why using different versions in pipelines is problematic is the following: if you require people to fix clippy issues, those changes might break all other builds. e.g. your current MSRV is 1.74.0 which is 54 weeks old. You mentioned it is a good indicator for what is to come. And I agree with you. However, I use either additional pipelines that use newer versions of rust, sometimes even beta and nightly and/or a version matrix. |
The reason for this is to maximize compatibility with distributions that lag severely behind stable rust. It also pains me that we have to be this far behind, but when looking across similar rust terminal software, this is fairly normal. |
I totally understand that an MSRV can be 1 year old. I'm not saying this is a problem. The issue was that people would make fixes because of clippy issues that came from a much newer rust version. The inconsistency was the problem. |
I think |
The FreeBSD CI seems to be failing in several PRs due to it using the latest available rust version on FreeBSD (1.83), see discussion: #1336
This attempts to set a specific version by using rustup instead of
pkg install
. We could also use the version matrix then, I think.Also, this is the LEET/1337 PR :) ... had to be BSD related of course XD