qemu/rust/qemu-api
Paolo Bonzini ce4a144cf8 rust: do not use --generate-cstr
--generate-cstr is a good idea and generally the right thing to do,
but it is not available in Debian 12 and Ubuntu 22.04.  Work around
the absence.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-11-05 14:18:17 +01:00
..
src rust: do not use --generate-cstr 2024-11-05 14:18:17 +01:00
tests rust: do not use --generate-cstr 2024-11-05 14:18:17 +01:00
.gitignore
build.rs rust: introduce alternative implementation of offset_of! 2024-11-05 14:18:16 +01:00
Cargo.toml rust: introduce alternative implementation of offset_of! 2024-11-05 14:18:16 +01:00
meson.build rust: introduce alternative implementation of offset_of! 2024-11-05 14:18:16 +01:00
README.md

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.rs

Generate Rust documentation

To generate docs for this crate, including private items:

cargo doc --no-deps --document-private-items