rust: hide warnings for subprojects

This matches cargo's own usage of "--cap-lints allow" when building
dependencies.  The dummy changes to the .wrap files help Meson notice
that the subproject is out of date.

Also remove an unnecessary subprojects/unicode-ident-1-rs/meson.build file.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2024-12-20 13:10:03 +01:00
parent 559a779c6a
commit d2c12785be
23 changed files with 44 additions and 20 deletions

View file

@ -9,6 +9,7 @@ _arbitrary_int_rs = static_library(
files('src/lib.rs'),
gnu_symbol_visibility: 'hidden',
override_options: ['rust_std=2021', 'build.rust_std=2021'],
rust_args: ['--cap-lints', 'allow'],
rust_abi: 'rust',
dependencies: [],
)