Skip to content

Commit

Permalink
mshv-bindings: Fix clippy warnings in bindgen code
Browse files Browse the repository at this point in the history
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 <jinankjain@microsoft.com>
  • Loading branch information
jinankjain committed Aug 28, 2023
1 parent 156f747 commit 4a1d238
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mshv-bindings/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a1d238

Please sign in to comment.