mirror of
https://github.com/qemu/qemu.git
synced 2025-08-06 11:19:49 +00:00

Parse the Cargo.toml file, looking for the unexpected_cfgs configuration. When generating --cfg options from the config-host.h file, only use those that are included in the configuration. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
QEMU bindings and API wrappers
This library exports helper Rust types, Rust macros and C FFI bindings for internal QEMU APIs.
The C bindings can be generated with bindgen
, using this build target:
$ ninja bindings.inc.rs
Generate Rust documentation
To generate docs for this crate, including private items:
pyvenv/bin/meson devenv -w ../rust cargo doc --no-deps --document-private-items