Skip to content

Commit

Permalink
Bump to bindgen 0.70
Browse files Browse the repository at this point in the history
rust-lang/rust-bindgen@v0.69.4...v0.70.0
https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md#0700-2024-08-16

The generated code now triggers a couple of new clippy lints
(`unnecessary_operation` and `identity_op`) which we just ignore.
  • Loading branch information
xv-ian-c committed Aug 19, 2024
1 parent fce6408 commit bd3a5e9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 3 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wolfssl-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ links = "wolfssl"
exclude = ["wolfssl-src/**/*.pdf"] # crates.io has a size limit for publishing. Exclude unused files to keep the size under the limit.

[build-dependencies]
bindgen = "0.69"
bindgen = "0.70"
autotools = "0.2"
build-target = "0.4.0"

Expand Down
2 changes: 2 additions & 0 deletions wolfssl-sys/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
#![allow(non_snake_case)]
#![allow(clippy::useless_transmute)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::unnecessary_operation)]
#![allow(clippy::identity_op)]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

0 comments on commit bd3a5e9

Please sign in to comment.