-
Notifications
You must be signed in to change notification settings - Fork 7
Specify MSRV instead of fixing the toolchain #5
Conversation
I'm not sure why the CI for code-coverage is failing, it shouldn't. The error is the following:
I've noticed it failing on other repos as well (for instance https://github.com/toposware/cheetah), though not really blocking. |
363faa1
to
bf43c0d
Compare
Swapping my review with Simon's as I think he can be of much greater value here |
@sebastiendan Sure thing! Although the CI check being red is a bit ugly. As we'll publish this on crates.io at some point, we'll probably want to address it soon. But non-blocking for this particular PR. |
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.
Setting an MSRV without testing it in CI is not very useful. If it's truly meaningful to commit to a MSRV I think the project README should state the policy:
- how long do we guarantee the current MSRV?
- backporting policy (we don't backport security patches to the MSRV I'd say, but we should state this publicly)
- when we update the MSRV, how is this communicated? What is the lead time?
Note that committing to a MSRV means that changing it is a breaking change in semver speak, so it means releasing a new major version.
IMO committing to an MSRV is not something we should take lightly.
Speculation: perhaps it should be |
Perhaps, though I'm confused why it was working in the first place then. Regarding the MSRV comment, I don't really have an objection to not setting a MSRV and just relying on the latest stable, it just felt more proper to have it declared (and I think as a general rule if every crate was specifying their MSRV this would definitely help the ecosystem) but I'll leave the experts decide here 🙂 |
Closing in favor of #9. |
Description
Specifying a rust-toolchain file fixes the Rust version being used, while we should rather specify an MSRV instead, as is the rust-version field of Cargo.toml intended to be.
PR Checklist: