Skip to content

Commit

Permalink
SFT-3631: Update MSRV to 1.74.
Browse files Browse the repository at this point in the history
* rust-toolchain.toml: Update MSRV.
* .github/workflows/dependencies.yaml: Ditto.
* .github/workflows/ffi.yaml: Ditto.
* .github/workflows/lint.yaml: Ditto.
* README.md: Ditto.
  • Loading branch information
jeandudey committed May 16, 2024
1 parent d25d137 commit 7bce9e9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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.70
toolchain: 1.74
- 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.70
toolchain: 1.74
- 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.70
toolchain: 1.74
- run: sudo apt-get install -y cmake nlohmann-json3-dev
- run: |
cmake -S ffi/integration/ \
Expand Down
6 changes: 3 additions & 3 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.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
Expand All @@ -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

Expand All @@ -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
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.70`.
The minimum supported version Rust version is `1.74`.

## Licensing

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

# Keep this in sync. with the CI.
[toolchain]
channel = "1.70"
channel = "1.74"
profile = "default"
targets = ["thumbv7em-none-eabihf"]

0 comments on commit 7bce9e9

Please sign in to comment.