From 604f14fdc04c01a14b6b562678a4dafc27191e3f Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Thu, 16 May 2024 15:06:26 +0200 Subject: [PATCH] SFT-3631: Update MSRV to 1.74. * rust-toolchain.toml: Update MSRV. * .github/workflows/dependencies.yaml: Ditto. * .github/workflows/ffi.yaml: Ditto. * .github/workflows/lint.yaml: Ditto. * README.md: Ditto. --- .github/workflows/dependencies.yaml | 2 +- .github/workflows/ffi.yaml | 4 ++-- .github/workflows/lint.yaml | 6 +++--- README.md | 2 +- rust-toolchain.toml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 095738f..25e2d23 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.70 + toolchain: 1.74 - run: cargo install --locked cargo-audit - run: cargo audit diff --git a/.github/workflows/ffi.yaml b/.github/workflows/ffi.yaml index 5074c25..cb10907 100644 --- a/.github/workflows/ffi.yaml +++ b/.github/workflows/ffi.yaml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.70 + toolchain: 1.74 - run: cargo install cbindgen@^0.24 - run: | cbindgen --config ffi/cbindgen.toml \ @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.70 + toolchain: 1.74 - run: sudo apt-get install -y cmake nlohmann-json3-dev - run: | cmake -S ffi/integration/ \ diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index b4c064c..2e04927 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.70 + toolchain: 1.74 - run: cargo check # The foundation-ffi crate won't compile for x86_64 targets because it # requires a nightly Rust compiler for defining a global allocator and @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.70 + toolchain: 1.74 components: rustfmt - run: cargo fmt --all -- --check @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.70 + toolchain: 1.74 - run: cargo test - run: cargo test --no-default-features --workspace --exclude foundation-ffi - run: cargo test --all-features diff --git a/README.md b/README.md index bde9e88..4f9d975 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ SPDX-License-Identifier: GPL-3.0-or-later ## Minimum Supported Rust Version (MSRV). -The minimum supported version Rust version is `1.70`. +The minimum supported version Rust version is `1.74`. ## Licensing diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d036ad6..8e1fca5 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,6 +3,6 @@ # Keep this in sync. with the CI. [toolchain] -channel = "1.70" +channel = "1.74" profile = "default" targets = ["thumbv7em-none-eabihf"]