Skip to content

Commit 3cd039e

Browse files
hoshinolinajannau
authored andcommitted
rust: Enable clippy::undocumented_unsafe_blocks lint
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 13d90a3 commit 3cd039e

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
@@ -28,6 +28,7 @@
2828
#![feature(const_mut_refs)]
2929
#![feature(const_ptr_write)]
3030
#![feature(const_refs_to_cell)]
31+
#![warn(clippy::undocumented_unsafe_blocks)]
3132

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

0 commit comments

Comments
 (0)