Skip to content

Commit

Permalink
SFT-4207: Update MSRV.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandudey committed Sep 16, 2024
1 parent 9f9afbb commit c248f21
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ffi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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/ \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 5 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
#
# <https://packages.guix.gnu.org/packages/rust/>
[toolchain]
channel = "1.74"
channel = "1.77"
profile = "default"
targets = ["thumbv7em-none-eabihf"]

0 comments on commit c248f21

Please sign in to comment.