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

Revert rustc version #345

Merged
merged 2 commits into from
Dec 13, 2023
Merged

Revert rustc version #345

merged 2 commits into from
Dec 13, 2023

Conversation

v01dstar
Copy link
Contributor

@v01dstar v01dstar commented Dec 12, 2023

Turns out it is better to still use rustc 1.66.0, otherwise the downstream TiKV project would require a lot of refactoring works if it wants to update its raft-engine version.

I bumped the version in #343 becauseserde requires rustc > 1.67 for stable build. Seems that we get the CI passed, we just need to update the CI's toolchain version, instead of updating the rustc requirement of raft-engine.

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e8de5d7) 98.21% compared to head (9e6a55c) 98.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #345      +/-   ##
==========================================
- Coverage   98.21%   98.20%   -0.01%     
==========================================
  Files          33       33              
  Lines       12457    12457              
==========================================
- Hits        12235    12234       -1     
- Misses        222      223       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Connor1996
Copy link
Member

/merge

@Connor1996 Connor1996 merged commit d043b4a into tikv:master Dec 13, 2023
7 checks passed
@v01dstar v01dstar deleted the revert-rustc-version branch December 13, 2023 07:29
@tabokie
Copy link
Member

tabokie commented Dec 15, 2023

Just a nitpick, you should use cargo patch to lock the version of toml to get around this issue. Setting a MSRV lower than actually required is not friendly to potential users. And CI and MSRV must align, that's the point of explicitly setting one in the first place.

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.

4 participants