rust: set MSRV to 1.75.0

This is the Rust version found on Ubuntu LTS releases as of today, and
is the oldest we need to support.

Ticket: #6573
pull/13396/head
Jason Ish 2 months ago committed by Victor Julien
parent a8a3780276
commit f0eaebe3a6

@ -1348,7 +1348,7 @@ jobs:
wget
# specific version to match up to the llvm version in ubuntu below
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.67.1 -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.75.0 -y
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory /__w/suricata/suricata
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
@ -1453,7 +1453,7 @@ jobs:
dpdk-dev
# specific version to match up to the llvm version in ubuntu below
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.67.1 -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.75.0 -y
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory /__w/suricata/suricata
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
@ -1776,7 +1776,7 @@ jobs:
dpdk-dev
# packaged Rust version is too old for coverage, so get from rustup
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.67.1 -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.75.0 -y
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: git config --global --add safe.directory /__w/suricata/suricata
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093

@ -2069,7 +2069,7 @@ fi
cargo_version_output=$($CARGO --version)
cargo_version=$(echo "$cargo_version_output" | sed 's/^.*[[^0-9]]\([[0-9]]*\.[[0-9]]*\.[[0-9]]*\).*$/\1/')
MIN_RUSTC_VERSION="1.67.1" # MSRV
MIN_RUSTC_VERSION="1.75.0" # MSRV
AC_MSG_CHECKING(for Rust version $MIN_RUSTC_VERSION or newer)
AS_VERSION_COMPARE([$rustc_version], [$MIN_RUSTC_VERSION],
[

@ -4,7 +4,7 @@ version = "@PACKAGE_VERSION@"
license = "GPL-2.0-only"
description = "Suricata Rust components"
edition = "2021"
rust-version = "1.67.1"
rust-version = "1.75.0"
[workspace]
members = [

Loading…
Cancel
Save