diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 25e2d23..9ca752b 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.74 + toolchain: 1.77 - run: cargo install --locked cargo-audit - run: cargo audit diff --git a/.github/workflows/ffi.yaml b/.github/workflows/ffi.yaml index cb10907..cb40656 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.74 + toolchain: 1.77 - 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.74 + toolchain: 1.77 - 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 1015f57..43f39bf 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.74 + toolchain: 1.77 - 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.74 + toolchain: 1.77 components: rustfmt - run: cargo fmt --all -- --check @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.74 + toolchain: 1.77 components: clippy - run: cargo clippy @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/rust-toolchain with: - toolchain: 1.74 + toolchain: 1.77 - 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 4f9d975..4338bea 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.74`. +The minimum supported version Rust version is `1.77`. ## Licensing diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8e1fca5..12f2d4b 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,7 +2,11 @@ # SPDX-License-Identifier: GPL-3.0-or-later # Keep this in sync. with the CI. +# +# Preferably should be the same version as GNU Guix to make packaging easier: +# +# [toolchain] -channel = "1.74" +channel = "1.77" profile = "default" targets = ["thumbv7em-none-eabihf"]