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

Commit 667ac19

Browse files
allow undocumented unsafe blocks
This is autogenerated code so it's not feasible to add manual documentation for it. Signed-off-by: Andreea Florescu <fandree@amazon.com>
1 parent 256340f commit 667ac19

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/arm64/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
#[allow(clippy::all)]
5+
#[allow(clippy::undocumented_unsafe_blocks)]
56
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
67
#[cfg_attr(test, allow(deref_nullptr))]
78
pub mod bindings;

src/x86/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
3-
3+
#[allow(clippy::undocumented_unsafe_blocks)]
44
#[allow(clippy::all)]
55
// Keep this until https://github.com/rust-lang/rust-bindgen/issues/1651 is fixed.
66
#[cfg_attr(test, allow(deref_nullptr))]

0 commit comments

Comments
 (0)