QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
469 B
24 lines
469 B
_qemu_api_rs = static_library(
|
|
'qemu_api',
|
|
structured_sources(
|
|
[
|
|
'src/lib.rs',
|
|
'src/definitions.rs',
|
|
'src/device_class.rs',
|
|
],
|
|
{'.' : bindings_rs},
|
|
),
|
|
override_options: ['rust_std=2021', 'build.rust_std=2021'],
|
|
rust_abi: 'rust',
|
|
rust_args: rustc_args + [
|
|
'--cfg', 'MESON',
|
|
# '--cfg', 'feature="allocator"',
|
|
],
|
|
dependencies: [
|
|
qemu_api_macros,
|
|
],
|
|
)
|
|
|
|
qemu_api = declare_dependency(
|
|
link_with: _qemu_api_rs,
|
|
)
|
|
|