rust: bump minimum supported version to 1.34.2

This commit is contained in:
Victor Julien
2020-03-02 17:18:50 +01:00
parent 74305c0486
commit 95e7246b75
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -162,7 +162,7 @@ jobs:
needs: centos-8
steps:
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.33.0 -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.34.2 -y
- run: echo "::add-path::$HOME/.cargo/bin"
- name: Install system dependencies
run: |
@@ -366,7 +366,7 @@ jobs:
zlib1g \
zlib1g-dev
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.33.0 -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.34.2 -y
- run: echo "::add-path::$HOME/.cargo/bin"
- name: Download suricata.tar.gz
uses: actions/download-artifact@v1
@@ -502,7 +502,7 @@ jobs:
zlib1g \
zlib1g-dev
- name: Install Rust
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.33.0 -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.34.2 -y
- run: echo "::add-path::$HOME/.cargo/bin"
- name: Install cbindgen
run: cargo install --force cbindgen
+1 -1
View File
@@ -81,7 +81,7 @@ env:
# The version of Rust that will be used if not otherwise set.
- RUST_VERSION="stable"
# The minimum version of Rust supported.
- RUST_VERSION_MIN="1.33.0"
- RUST_VERSION_MIN="1.34.2"
# A known recent working version of stable Rust
- RUST_VERSION_KNOWN="1.37.0"
+1 -1
View File
@@ -2394,7 +2394,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.33.0"
MIN_RUSTC_VERSION="1.34.2"
AC_MSG_CHECKING(for Rust version $MIN_RUSTC_VERSION or newer)
AS_VERSION_COMPARE([$rustc_version], [$MIN_RUSTC_VERSION],
[