rust: update msrv to 1.85 - v6 #15328
Open
jasonish wants to merge 12 commits into
Open
Conversation
Don't install extra repo's in the script, do it in CI. These are covered by the documentation as they vary depending on the version and variant.
Debian 13 ships Rust 1.85 by default, Ubuntu requires installing a specific patch to get newer then 1.75. So to support a newer MSRV, these operating systems need different examples.
1.85 was chosen for now as it supports edition 2024. However, we have not set our edition to 2024 yet.
Disable the clippy warning for not using modern C string literals. Ubuntu 24.04 still ships cbindgen 0.26.0 that doesn't support these, so migrating to modern C string literals would require Ubuntu 24.04 users wishing to build from git to install cbindgen with cargo.
To pick up a newer version of Rust.
This is required when rustc is not in a standard path. The other cbindgen calls already had this, so it was just missed while adding the ffi bindings, but shows up when rustc is at a path like /usr/lib/rust-1.89/bin/rustc, but that directory is not in your path.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15328 +/- ##
=======================================
Coverage 82.64% 82.65%
=======================================
Files 995 995
Lines 271075 271075
=======================================
+ Hits 224042 224045 +3
+ Misses 47033 47030 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Information: QA ran without warnings. Pipeline = 31213 |
catenacyber
approved these changes
May 7, 2026
Contributor
catenacyber
left a comment
There was a problem hiding this comment.
Good for me, if the QA/Victor setup is good also
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebased.