mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 04:55:03 +00:00
Enable the unsafe_op_in_unsafe_fn
lint
This commit is contained in:
parent
3f8dbe6990
commit
7f3a332101
@ -46,6 +46,9 @@ exclude = [
|
|||||||
"osdk",
|
"osdk",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[workspace.lints.rust]
|
||||||
|
unsafe_op_in_unsafe_fn = "warn"
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
allow_attributes = "warn"
|
allow_attributes = "warn"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user