Enable the `unsafe_op_in_unsafe_fn` lint

This commit is contained in:
Ruihan Li 2025-05-07 23:56:01 +08:00 committed by Junyang Zhang
parent 3f8dbe6990
commit 7f3a332101
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ exclude = [
"osdk",
]
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[workspace.lints.clippy]
allow_attributes = "warn"