From 3a203b70196cc91ad4c0819b4104200082f6c2e1 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 12 Dec 2025 17:47:01 +0100 Subject: [PATCH] rusticl/meson: deny all clippy lints before allowing global ones Part-of: --- src/gallium/frontends/rusticl/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build index cd9f05b6917..7db1151f695 100644 --- a/src/gallium/frontends/rusticl/meson.build +++ b/src/gallium/frontends/rusticl/meson.build @@ -64,14 +64,15 @@ rusticl_files = files( ) rusticl_args = [ + # we error on all clippy warnings unless they are disabled + '-Dclippy::all', + rust_global_args, rust_2024_lint_args, # Should be ran manually before moving to the 2024 edition # '-Dtail_expr_drop_order', - # we error on all clippy warnings unless they are disabled - '-Dclippy::all', # we want to add asserts in control flow '-Aclippy::assertions_on_constants', # warns on Arc<_> as keys