diff --git a/linux/build b/linux/build index 51fb7932f..2a6d366b6 100755 --- a/linux/build +++ b/linux/build @@ -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 diff --git a/linux/configure.ac b/linux/configure.ac index dc80ffdee..29007d283 100644 --- a/linux/configure.ac +++ b/linux/configure.ac @@ -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])]) diff --git a/mac/build.command b/mac/build.command index e0aab469a..5fdedd575 100755 --- a/mac/build.command +++ b/mac/build.command @@ -215,7 +215,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 @@ -268,4 +268,4 @@ if [[ "$out" != "" ]]; then echo "Compilation successful, compiler message shown in previous lines" else echo "Compilation successful, no compiler messages." -fi \ No newline at end of file +fi diff --git a/mac/configure.ac b/mac/configure.ac index 975fa5faf..a5a527392 100644 --- a/mac/configure.ac +++ b/mac/configure.ac @@ -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])]) diff --git a/src/rust/CMakeLists.txt b/src/rust/CMakeLists.txt index 680d081ca..34dc6e782 100644 --- a/src/rust/CMakeLists.txt +++ b/src/rust/CMakeLists.txt @@ -20,7 +20,7 @@ else() endif() # Check rust version -set(MSRV "1.54.0") +set(MSRV "1.87.0") if(Rust_VERSION VERSION_GREATER_EQUAL ${MSRV}) message(STATUS "rustc >= MSRV(${MSRV})") else() diff --git a/src/rust/clippy.toml b/src/rust/clippy.toml new file mode 100644 index 000000000..83bf2baa7 --- /dev/null +++ b/src/rust/clippy.toml @@ -0,0 +1 @@ +msrv = "1.87.0"