nak: allow clippy::not_unsafe_ptr_arg_deref lints

Clippy errors on this, so just allow it here.

Fixes: b9c0e3c1ab ("nak: Add helpers for filling QMDs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30323>
(cherry picked from commit 526a572233)
This commit is contained in:
Karol Herbst 2024-07-23 13:19:49 +02:00 committed by Eric Engestrom
parent 4d9e30e21b
commit 539628118f
2 changed files with 4 additions and 1 deletions

View file

@ -24,7 +24,7 @@
"description": "nak: allow clippy::not_unsafe_ptr_arg_deref lints",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "b9c0e3c1ab7f157aaab4210e3f31843fb00368d5",
"notes": null

View file

@ -37,6 +37,9 @@ nak_rust_args = [
'-Aclippy::upper_case_acronyms',
'-Aclippy::vec_box',
'-Aclippy::write_with_newline',
# warns about public function might dereference a raw pointer, but nothing is
# actually public here
'-Aclippy::not_unsafe_ptr_arg_deref',
'-Anon_snake_case',
]