]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: set MSRV to 1.75.0
authorJason Ish <jason.ish@oisf.net>
Thu, 5 Jun 2025 16:59:20 +0000 (10:59 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 6 Jun 2025 18:08:47 +0000 (20:08 +0200)
This is the Rust version found on Ubuntu LTS releases as of today, and
is the oldest we need to support.

Ticket: #6573

.github/workflows/builds.yml
configure.ac
rust/Cargo.toml.in

index d60a6c76c86e0ad4b4a27d69bbe6f299544440cb..9ba6c79ca593080688def985c2ccab5995d4453a 100644 (file)
@@ -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
index 58acbcc12b72e57af447a6c7c06c60d87d2cede7..595371fb33c1d49280f9319519a11ca7bf8f19c5 100644 (file)
@@ -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],
         [
index de7191cfb25a9fee0db14086576d0a954a5c2f6e..c4c1abf680348b5fa51715aad0d2c24e0c1edc53 100644 (file)
@@ -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 = [