mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
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:
parent
e7142c74e2
commit
3a203b7019
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue