From ade6f061357288d551cb9341a5654490a0e2312b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gonz=C3=A1lez?= Date: Thu, 21 Mar 2024 16:53:50 +0000 Subject: [PATCH] psa-crypto-sys/build.rs: Allow unused imports in generated bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- psa-crypto-sys/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/psa-crypto-sys/src/lib.rs b/psa-crypto-sys/src/lib.rs index 14b84d8..a84ed98 100644 --- a/psa-crypto-sys/src/lib.rs +++ b/psa-crypto-sys/src/lib.rs @@ -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")); }