Skip to content

rust: update msrv to 1.85 - v6 #15328

Open
jasonish wants to merge 12 commits into
OISF:mainfrom
jasonish:rust-1.8x/v6
Open

rust: update msrv to 1.85 - v6 #15328
jasonish wants to merge 12 commits into
OISF:mainfrom
jasonish:rust-1.8x/v6

Conversation

@jasonish
Copy link
Copy Markdown
Member

@jasonish jasonish commented May 6, 2026

Rebased.

jasonish added 12 commits May 6, 2026 14:37
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.
@jasonish jasonish requested review from a team and jufajardini as code owners May 6, 2026 20:38
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.65%. Comparing base (899e9f0) to head (fc968c9).

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     
Flag Coverage Δ
fuzzcorpus 61.04% <ø> (ø)
livemode 18.37% <ø> (-0.01%) ⬇️
netns 22.58% <ø> (-0.02%) ⬇️
pcap 45.21% <ø> (-0.05%) ⬇️
suricata-verify 66.36% <ø> (-0.03%) ⬇️
unittests 58.57% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa
Copy link
Copy Markdown

Information: QA ran without warnings.

Pipeline = 31213

Copy link
Copy Markdown
Contributor

@catenacyber catenacyber left a comment

Choose a reason for hiding this comment

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

Good for me, if the QA/Victor setup is good also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants