Skip to content

Commit ade6f06

Browse files
psa-crypto-sys/build.rs: Allow unused imports in generated bindings
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 <tomasagustin.gonzalezorlando@arm.com>
1 parent f7a4fd6 commit ade6f06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

psa-crypto-sys/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#[allow(clippy::all)]
2424
#[cfg(feature = "interface")]
2525
mod psa_crypto_binding {
26+
#![allow(unused_imports)]
2627
include!(concat!(env!("OUT_DIR"), "/shim_bindings.rs"));
2728
}
2829

0 commit comments

Comments
 (0)