Skip to content

Commit

Permalink
rust: elide lifetimes for clippy analysis (#167)
Browse files Browse the repository at this point in the history
* rust: elide lifetimes for clippy analysis

A new version of Rust has made unnecessary lifetime annotations an
error for `cargo clippy`. This change removes them, replacing them with
a default `'_`.

* rust: check in Cargo.lock to avoid version mismatches

* rust: use bindgen 0.69.5

This is what `Cargo.lock` is resolving to, so use this directly.

* rust: update version of `cargo-deny`
  • Loading branch information
abrown authored Jan 7, 2025
1 parent d3356e4 commit dd9593a
Show file tree
Hide file tree
Showing 14 changed files with 470 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: EmbarkStudios/cargo-deny-action@5def368d93be6684ad20a0fdec5f23c8ea11e022 # v1.5.13
- uses: EmbarkStudios/cargo-deny-action@e2f4ede4a4e60ea15ff31bc0647485d80c66cfba # v2.0.4
with:
arguments: --manifest-path rust/Cargo.toml
manifest-path: rust/Cargo.toml

rust_build:
name: Check Rust crate
Expand Down
1 change: 0 additions & 1 deletion rust/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
**/target
**/*.rs.bk
Cargo.lock
c-library
Loading

0 comments on commit dd9593a

Please sign in to comment.