meson: silence warnings in rust subprojects

Rust 1.91 as well as clippy show various benign warnings in our dependencies. Silence them since we
can't really do much about them anyway and we want to enforce clippy complience via CI in the
future.

Matches cargo behavior, which also doesn't show warnings or clippy lints outside the workspace.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38814>
This commit is contained in:
LingMan
2025-12-04 15:37:18 +01:00
committed by Marge Bot
parent 17e597093d
commit f53f35cb32
29 changed files with 30 additions and 30 deletions

View File

@@ -16,7 +16,7 @@ rust = import('rust')
lib = rust.proc_macro(
'thiserror_impl',
'src/lib.rs',
override_options : ['rust_std=2021', 'build.rust_std=2021'],
override_options : ['rust_std=2021', 'build.rust_std=2021', 'warning_level=0'],
link_with : [syn, quote, proc_macro2]
)