From 4a1d23834875228d42aab1cfa96a3213244f1563 Mon Sep 17 00:00:00 2001 From: Jinank Jain Date: Mon, 28 Aug 2023 09:05:38 +0000 Subject: [PATCH] mshv-bindings: Fix clippy warnings in bindgen code With recent rust version clippy got strict and founding errors in the code generated by bindgen. So we need to another filter in the allowlist to make clippy happy. Signed-off-by: Jinank Jain --- mshv-bindings/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/mshv-bindings/src/lib.rs b/mshv-bindings/src/lib.rs index f5324b69..d52009e9 100644 --- a/mshv-bindings/src/lib.rs +++ b/mshv-bindings/src/lib.rs @@ -12,6 +12,7 @@ extern crate vmm_sys_util; clippy::missing_safety_doc, clippy::useless_transmute, clippy::unnecessary_cast, + clippy::incorrect_clone_impl_on_copy_type, non_camel_case_types, non_snake_case, non_upper_case_globals