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

Commit ca03ba5

Browse files
likebreathroypat
authored andcommitted
Remove unnecessary clippy override
The clippy override `allow(deref_nullptr)` is no longer needed since the issue has been fixed from rust-bindgen [1]. [1] rust-lang/rust-bindgen#1651 Signed-off-by: Bo Chen <[email protected]>
1 parent 583a3ad commit ca03ba5

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/arm64/mod.rs

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

44
#[allow(clippy::all)]
55
#[allow(clippy::undocumented_unsafe_blocks)]
6-
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
7-
#[cfg_attr(test, allow(deref_nullptr))]
86
pub mod bindings;
97
#[cfg(feature = "fam-wrappers")]
108
pub mod fam_wrappers;

src/x86_64/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33
#[allow(clippy::undocumented_unsafe_blocks)]
44
#[allow(clippy::all)]
5-
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
6-
#[cfg_attr(test, allow(deref_nullptr))]
75
pub mod bindings;
86
#[cfg(feature = "fam-wrappers")]
97
pub mod fam_wrappers;

0 commit comments

Comments
 (0)