bump MSRV from 1.54.0 to 1.87.0 (rust)

This commit is contained in:
Carlos Fernandez Sanz
2025-12-15 23:25:22 -08:00
committed by GitHub
6 changed files with 7 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ fi
rustc_version="$(rustc --version)"
semver=( ${rustc_version//./ } )
version="${semver[1]}.${semver[2]}.${semver[3]}"
MSRV="1.54.0"
MSRV="1.87.0"
if [ "$(printf '%s\n' "$MSRV" "$version" | sort -V | head -n1)" = "$MSRV" ]; then
echo "rustc >= MSRV(${MSRV})"
else

View File

@@ -104,7 +104,7 @@ if test "x$with_rust" = "xyes" ; then
AS_IF([test "$RUSTC" = "notfound"], [AC_MSG_ERROR([rustc is required])])
rustc_version=$(rustc --version)
MSRV="1.54.0"
MSRV="1.87.0"
AX_COMPARE_VERSION($rustc_version, [ge], [$MSRV],
[AC_MSG_RESULT(rustc >= $MSRV)],
[AC_MSG_ERROR([Minimum supported rust version(MSRV) is $MSRV, please upgrade rust])])