Skip to content

Commit

Permalink
Remove unnecessary clippy override
Browse files Browse the repository at this point in the history
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 <chen.bo@intel.com>
  • Loading branch information
likebreath committed Jan 3, 2024
1 parent 583a3ad commit 500462e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/arm64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#[allow(clippy::all)]
#[allow(clippy::undocumented_unsafe_blocks)]
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
#[cfg_attr(test, allow(deref_nullptr))]
pub mod bindings;
#[cfg(feature = "fam-wrappers")]
pub mod fam_wrappers;
Expand Down
2 changes: 0 additions & 2 deletions src/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// SPDX-License-Identifier: Apache-2.0
#[allow(clippy::undocumented_unsafe_blocks)]
#[allow(clippy::all)]
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
#[cfg_attr(test, allow(deref_nullptr))]
pub mod bindings;
#[cfg(feature = "fam-wrappers")]
pub mod fam_wrappers;
Expand Down

0 comments on commit 500462e

Please sign in to comment.