Skip to content

Commit 41659ca

Browse files
authored
Update to 2024, fix lints, update crates (#95)
* Update to 2024, fix lints, update crates * Rustfmt * Fix mac * Mac * More * more * more * Windows * Bust cache * Fix arm * Sigh * Disable cache
1 parent e1f1241 commit 41659ca

File tree

27 files changed

+1002
-842
lines changed

27 files changed

+1002
-842
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ rustflags = [
4848
"-Wclippy::match_wild_err_arm",
4949
"-Wclippy::match_wildcard_for_single_variants",
5050
"-Wclippy::mem_forget",
51-
"-Wclippy::mismatched_target_os",
5251
"-Wclippy::missing_enforced_import_renames",
5352
"-Wclippy::mut_mut",
5453
"-Wclippy::mutex_integer",
@@ -79,5 +78,6 @@ rustflags = [
7978
"-Wfuture_incompatible",
8079
"-Wnonstandard_style",
8180
"-Wrust_2018_idioms",
81+
"-Wunexpected_cfgs",
8282
# END - Embark standard lints v6 for Rust 1.55+
8383
]

.github/workflows/rust-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ jobs:
6262
- { target: aarch64-linux-android, toolchain: stable }
6363
- { target: arm-unknown-linux-gnueabihf, toolchain: stable }
6464
steps:
65-
- uses: actions/checkout@v3
65+
- uses: actions/checkout@v4
6666
- name: Install Rust
6767
uses: dtolnay/rust-toolchain@master
6868
with:
6969
toolchain: ${{ matrix.job.toolchain }}
7070
target: ${{ matrix.job.target }}
71-
- uses: Swatinem/rust-cache@v2
71+
# - uses: Swatinem/rust-cache@v2
72+
# with:
73+
# key: "1.86.0"
7274
- name: Build
7375
# We need to install cross from git, because https://github.com/cross-rs/cross/issues/1222
7476
# is still unreleased (it's been almost a year since the last release)

0 commit comments

Comments
 (0)