From 526a5722335cb7320aed4456b60dfc10130d6710 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Tue, 23 Jul 2024 13:19:49 +0200 Subject: [PATCH] nak: allow clippy::not_unsafe_ptr_arg_deref lints Clippy errors on this, so just allow it here. Fixes: b9c0e3c1ab7 ("nak: Add helpers for filling QMDs") Part-of: --- src/nouveau/compiler/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nouveau/compiler/meson.build b/src/nouveau/compiler/meson.build index 3873d6f6e50..0b6675f081a 100644 --- a/src/nouveau/compiler/meson.build +++ b/src/nouveau/compiler/meson.build @@ -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', ]