Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit 6793878

Browse files
rust-vmm-ci: disable clippy warnings
Autogenerated code throws lots of clippy errors. Disable the warnings as we don't want to manually edit autogenerated code. Signed-off-by: Andreea Florescu <[email protected]>
1 parent 5572f0f commit 6793878

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/arm/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// Export 4.14 bindings when the feature kvm-v4_20_0 is not specified.
55
#[cfg(all(feature = "kvm-v4_14_0", not(feature = "kvm-v4_20_0")))]
6+
#[allow(clippy::all)]
67
mod bindings_v4_14_0;
78

89
// Export 4.20 bindings when kvm-v4_20_0 is specified or no kernel version
@@ -11,6 +12,7 @@ mod bindings_v4_14_0;
1112
feature = "kvm-v4_20_0",
1213
all(not(feature = "kvm-v4_14_0"), not(feature = "kvm-v4_20_0"))
1314
))]
15+
#[allow(clippy::all)]
1416
mod bindings_v4_20_0;
1517

1618
pub mod bindings {

src/arm64/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// Export 4.14 bindings when the feature kvm-v4_20_0 is not specified.
55
#[cfg(all(feature = "kvm-v4_14_0", not(feature = "kvm-v4_20_0")))]
6+
#[allow(clippy::all)]
67
mod bindings_v4_14_0;
78

89
// Export 4.20 bindings when kvm-v4_20_0 is specified or no kernel version
@@ -11,6 +12,7 @@ mod bindings_v4_14_0;
1112
feature = "kvm-v4_20_0",
1213
all(not(feature = "kvm-v4_14_0"), not(feature = "kvm-v4_20_0"))
1314
))]
15+
#[allow(clippy::all)]
1416
mod bindings_v4_20_0;
1517

1618
pub mod bindings {

src/x86/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ mod fam_wrappers;
66

77
// Export 4.14 bindings when the feature kvm-v4_20_0 is not specified.
88
#[cfg(all(feature = "kvm-v4_14_0", not(feature = "kvm-v4_20_0")))]
9+
#[allow(clippy::all)]
910
mod bindings_v4_14_0;
1011

1112
// Export 4.20 bindings when kvm-v4_20_0 is specified or no kernel version
@@ -14,6 +15,7 @@ mod bindings_v4_14_0;
1415
feature = "kvm-v4_20_0",
1516
all(not(feature = "kvm-v4_14_0"), not(feature = "kvm-v4_20_0"))
1617
))]
18+
#[allow(clippy::all)]
1719
mod bindings_v4_20_0;
1820

1921
pub mod bindings {

0 commit comments

Comments
 (0)