qemu-cr16/rust
Paolo Bonzini 1548c5cdf0 rust: prepare variable definitions for multiple bindgen invocations
When splitting the QEMU Rust bindings into multiple crates, the
bindgen-generated structs also have to be split so that it's
possible to add "impl" blocks (e.g. for Sync/Send or Default,
or even for utility methods in cases such as VMStateFlags).

Tweak various variable definitions in meson.build, to avoid naming
conflicts once there will be multiple bindgen invocations.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-06-20 13:24:25 +02:00
..
bits rust: add "bits", a custom bitflags implementation 2025-06-03 22:44:40 +02:00
hw rust: qom: change instance_init to take a ParentInit<> 2025-06-17 09:54:52 +02:00
qemu-api rust: prepare variable definitions for multiple bindgen invocations 2025-06-20 13:24:25 +02:00
qemu-api-macros rust: make TryFrom macro more resilient 2025-06-06 14:32:54 +02:00
.gitignore
Cargo.lock rust: qemu-api: add bindings to Error 2025-06-05 20:24:51 +02:00
Cargo.toml rust: qemu-api: add bindings to Error 2025-06-05 20:24:51 +02:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build rust: prepare variable definitions for multiple bindgen invocations 2025-06-20 13:24:25 +02:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00
wrapper.h util/error: expose Error definition to Rust code 2025-06-05 20:24:51 +02:00