rust: set minimum rust version to 1.85

1.85 was chosen for now as it supports edition 2024. However, we have
not set our edition to 2024 yet.
pull/16028/head
Jason Ish 6 months ago committed by Victor Julien
parent 6b8c482012
commit 2bea5b6aad

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

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

Loading…
Cancel
Save