rusticl/meson: deny all clippy lints before allowing global ones

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
Eric Engestrom 2025-12-12 17:47:01 +01:00
parent e7142c74e2
commit 3a203b7019

View file

@ -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