You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/rust/bits/meson.build

17 lines
417 B
Meson

_bits_rs = static_library(
'bits',
'src/lib.rs',
override_options: ['rust_std=2021', 'build.rust_std=2021'],
rust_abi: 'rust',
dependencies: [qemu_api_macros],
)
bits_rs = declare_dependency(link_with: _bits_rs)
rust.test('rust-bits-tests', _bits_rs,
suite: ['unit', 'rust'])
rust.doctest('rust-bits-doctests', _bits_rs,
dependencies: bits_rs,
suite: ['doc', 'rust'])