From a3678380859f94c40d55d662e3b096d36e2e8e0f Mon Sep 17 00:00:00 2001 From: alexmoon Date: Thu, 14 Jul 2022 16:08:00 -0400 Subject: Update binding generation to suppress clippy warnings --- nrf-softdevice-gen/src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nrf-softdevice-gen') diff --git a/nrf-softdevice-gen/src/main.rs b/nrf-softdevice-gen/src/main.rs index 3fa2c27..4caabb0 100644 --- a/nrf-softdevice-gen/src/main.rs +++ b/nrf-softdevice-gen/src/main.rs @@ -196,6 +196,13 @@ static HEADER: &str = r#" * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#![allow( + clippy::fn_to_numeric_cast, + clippy::missing_safety_doc, + clippy::redundant_static_lifetimes, + clippy::useless_transmute +)] + pub type c_schar = i8; pub type c_uchar = u8; pub type c_char = u8; -- cgit v1.2.3