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.
19 lines
478 B
19 lines
478 B
rust = import('rust')
|
|
|
|
lib_rs = configure_file(
|
|
input: 'src/lib.rs',
|
|
output: 'lib.rs',
|
|
configuration: {
|
|
'MESON_BUILD_ROOT': meson.project_build_root(),
|
|
})
|
|
|
|
_trace_rs = static_library(
|
|
'trace', # Library name,
|
|
lib_rs,
|
|
trace_rs_targets, # List of generated `.rs` custom targets
|
|
override_options: ['rust_std=2021', 'build.rust_std=2021'],
|
|
dependencies: [libc_rs],
|
|
rust_abi: 'rust',
|
|
)
|
|
|
|
trace_rs = declare_dependency(link_with: _trace_rs)
|
|
|