mesa/subprojects/packagefiles/equivalent-1-rs/meson.build
LingMan f53f35cb32 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>
2025-12-12 17:28:49 +00:00

18 lines
329 B
Meson

project(
'equivalent',
'rust',
version : '1.0.1',
license : 'MIT OR Apache-2.0',
)
lib = static_library(
'equivalent',
'src/lib.rs',
override_options : ['rust_std=2015', 'build.rust_std=2015', 'warning_level=0'],
rust_abi : 'rust',
native : true,
)
dep_equivalent = declare_dependency(
link_with : [lib],
)