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

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 <[email protected]>
  • Loading branch information
likebreath authored and roypat committed Jan 4, 2024
1 parent 583a3ad commit ca03ba5
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 ca03ba5

Please sign in to comment.