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

Modify the CI to execute on 1.64.0 #225

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Sep 26, 2023

error: package `addr2line v0.21.0` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.64.0

After patching the minor version of pprof-rs, it can actually run on 1.64.0

@YangKeao YangKeao force-pushed the bump-msrv-to-1.65.0 branch 5 times, most recently from 5a632fa to 3856eda Compare September 26, 2023 04:14
@sticnarf
Copy link
Contributor

As I replied in #221, addr2line 0.21 does not force us to bump MSRV to 1.65 because it's possible to keep the patch version of backtrace low enough.

@YangKeao YangKeao changed the title Bump MSRV to 1.65.0 Modify the CI to execute on 1.64.0 Sep 26, 2023
@@ -35,6 +35,13 @@ jobs:
- name: Remove pre-generated prost files to force regeneration
run: rm proto/*.rs

- name: Set precise version to allow building on 1.64.0
Copy link
Member

Choose a reason for hiding this comment

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

How about commit Cargo.lock into the repo so that developers don't need to figure all of those?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice suggestion. I've read https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html and rust-lang/cargo@3bb02f2. It seems good to just commit the .lock file 🍻.

@YangKeao YangKeao force-pushed the bump-msrv-to-1.65.0 branch 2 times, most recently from a7aa746 to 6c02fcb Compare September 26, 2023 09:02
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
@YangKeao
Copy link
Member Author

As I replied in #221, addr2line 0.21 does not force us to bump MSRV to 1.65 because it's possible to keep the patch version of backtrace low enough.

Thanks for the information. Then I'll not bump the MSRV in this PR, but just commit the Cargo.lock and make sure the CI passes. PTAL @sticnarf

Copy link
Contributor

@sticnarf sticnarf left a comment

Choose a reason for hiding this comment

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

LGTM

@YangKeao YangKeao merged commit 1deed8c into tikv:master Sep 26, 2023
23 checks passed
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.

3 participants