Skip to content

Commit

Permalink
psa-crypto-sys/build.rs: Allow unused imports in generated bindings
Browse files Browse the repository at this point in the history
Solve the issue:

unused import:
self :: psa_crypto_driver_pake_step as psa_crypto_driver_pake_step_t

Obtained from bindgen generating code for an unused type.
There should not a be problem about not using certain bindings

Signed-off-by: Tomás González <[email protected]>
  • Loading branch information
tgonzalezorlandoarm committed Mar 22, 2024
1 parent f7a4fd6 commit ade6f06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psa-crypto-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#[allow(clippy::all)]
#[cfg(feature = "interface")]
mod psa_crypto_binding {
#![allow(unused_imports)]
include!(concat!(env!("OUT_DIR"), "/shim_bindings.rs"));
}

Expand Down

0 comments on commit ade6f06

Please sign in to comment.