mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 13:23:54 -06:00

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>
21 lines
527 B
Meson
21 lines
527 B
Meson
project('arbitrary-int-1-rs', 'rust',
|
|
meson_version: '>=1.5.0',
|
|
version: '1.2.7',
|
|
license: 'MIT',
|
|
default_options: [])
|
|
|
|
_arbitrary_int_rs = static_library(
|
|
'arbitrary_int',
|
|
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: [],
|
|
)
|
|
|
|
arbitrary_int_dep = declare_dependency(
|
|
link_with: _arbitrary_int_rs,
|
|
)
|
|
|
|
meson.override_dependency('arbitrary-int-1-rs', arbitrary_int_dep)
|