Skip to content
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

Bump MSRV to 1.51 to fix build with latest plist release #397

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented Nov 22, 2021

A recent release of plist bumped MSRV to 1.51 (see
ebarnard/rust-plist#72 and discussions therein). One easy way for us to deal with that is to also bump our MSRV to 1.51. I can't think of why this would be a big problem, so here is a PR that does that. It fixes this build error in MSRV CI that we currently get on the master branch (https://github.com/trishume/syntect/runs/4282657925?check_suite_focus=true):

error: failed to parse manifest at `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.3.5/Cargo.toml`

Caused by:
  feature `resolver` is required

  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["resolver"]` to enable this feature

Note that the build error is in time-rs, but it is plist that pulls in that dependency.

A recent release of plist bumped MSRV to 1.51 (see
ebarnard/rust-plist#72 and discussions theirin), so we
need to do that as well to fix this build error in CI:

```
error: failed to parse manifest at `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.3.5/Cargo.toml`

Caused by:
  feature `resolver` is required

  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["resolver"]` to enable this feature
```
@Enselic
Copy link
Collaborator Author

Enselic commented Dec 23, 2021

I have confirmed that syntect still fails to build with Rust 1.50. Rust 1.51 is needed. I'll go ahead and merge this now since:

  • This PR was opened more than one month ago (which is the magic number)
  • This PR does not change the actual syntect library code
  • Actually, this PR does not really change anything. Rust 1.50 fails to build with latest syntect (and a freshly auto-constructed Cargo.lock) regardless of if we merge this PR or not. So this PR just makes the repo reflect reality, so to speak.

Another benefit of merging this is that I can make my other open PRs pass all CI checks. (I plan on doing a hard rebase on top of master now for all my other open PRs now that this PR is merged.)

@Enselic Enselic merged commit 51d3b96 into trishume:master Dec 23, 2021
@Enselic Enselic deleted the bump-msrv-to-1.51 branch December 23, 2021 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant