-
-
Notifications
You must be signed in to change notification settings - Fork 510
Fix CI: half
requiring rust 1.81
#1505
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
Conversation
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.
We probably don't need to cover whatever targets pull in criterion in the MSRV test? 1.81 seems fine to me though.
Not sure I understand, are you suggesting to keep a
|
No, I was referring to the CI job that checks MSRV.
We don't need to make it optional, we just need to not compile any targets that involve dev-dependencies for purposes of validating the MSRV, because they are not relevant to it. |
@Vrixyz do you intend to fix the MSRV test to only compile library targets? |
I can make fixes, but I'm not 100% sure what you mean: I believe Cargo check doesn't test for dev-dependencies? Do you mean passing cargo check with specific packages ? Or do you mean changing the features set ? Thanks for your patience (I have limited computer access for ~1 week) |
The purpose of the MSRV test is to ensure that downstream users on older rustc versions can still compile nalgebra. Criterion, being a dev dependency, is not relevant. We should configure the MSRV validation CI job to not attempt to build Criterion (or any other dev-dependency), and instead to only build library targets. |
🤔 That's kind of what this PR is doing then:
I could add a I changed the existing Sorry if I'm misunderstanding something, thx for the patience :) |
I don't think this is useful, but since CI does check exact error messages it seems like we need to pin this version to something anyway. |
Criterion brings
half
crate which Minimum Supported Rust Version is 1.81, so CI is failing, let's discuss how to fix:I removed the warning to errors, let's see how it goes.