Skip to content

Commit 7c9ee22

Browse files
committed
rust: Enable clippy::undocumented_unsafe_blocks lint
Signed-off-by: Asahi Lina <[email protected]>
1 parent a575381 commit 7c9ee22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/kernel/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#![feature(receiver_trait)]
2626
#![feature(type_alias_impl_trait)]
2727
#![feature(unsize)]
28+
#![warn(clippy::undocumented_unsafe_blocks)]
2829

2930
// Ensure conditional compilation based on the kernel configuration works;
3031
// otherwise we may silently break things like initcall handling.

0 commit comments

Comments
 (0)