qemu/rust/qemu-api
Paolo Bonzini 756ea88fff vmstate: support varray for vmstate_clock!
Make vmstate_struct and vmstate_clock more similar; they are basically the
same thing, except for the clock case having a built-in VMStateDescription.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-05-02 17:37:46 +02:00
..
src vmstate: support varray for vmstate_clock! 2025-05-02 17:37:46 +02:00
tests rust/vmstate_test: Fix typo in test_vmstate_macro_array_of_pointer_wrapped() 2025-04-23 10:35:23 +02:00
.gitignore rust: allow using build-root bindings.rs from cargo 2024-12-10 18:44:06 +01:00
build.rs rust: build: add "make clippy", "make rustfmt", "make rustdoc" 2024-12-10 18:44:06 +01:00
Cargo.toml rust: subprojects: add libc crate 2025-02-25 10:49:23 +01:00
meson.build rust/vmstate: Add unit test for vmstate_of macro 2025-03-21 12:56:00 +01:00
README.md rust: build: add "make clippy", "make rustfmt", "make rustdoc" 2024-12-10 18:44:06 +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:

$ make bindings.inc.rs

Generate Rust documentation

Common Cargo tasks can be performed from the QEMU build directory

$ make clippy
$ make rustfmt
$ make rustdoc