Files
qemu/rust/qemu-api
Paolo Bonzini 1de82059aa rust: build: restrict --cfg generation to only required symbols
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>
2024-12-10 18:44:06 +01:00
..
2024-11-05 14:18:17 +01:00

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