qemu/rust
Paolo Bonzini bfe0f6b02a subprojects: add the foreign crate
This is a cleaned up and separated version of the patches at
https://lore.kernel.org/all/20240701145853.1394967-4-pbonzini@redhat.com/
https://lore.kernel.org/all/20240701145853.1394967-5-pbonzini@redhat.com/

Its first user will be the Error bindings; for example a QEMU Error ** can be
converted to a Rust Option using

     unsafe { Option::<Error>::from_foreign(c_error) }

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-06-05 20:24:51 +02:00
..
bits rust: add "bits", a custom bitflags implementation 2025-06-03 22:44:40 +02:00
hw rust: pl011: use the bits macro 2025-06-03 22:44:40 +02:00
qemu-api subprojects: add the foreign crate 2025-06-05 20:24:51 +02:00
qemu-api-macros rust: qemu-api-macros: add from_bits and into_bits to #[derive(TryInto)] 2025-06-03 22:44:40 +02:00
.gitignore rust: add bindgen step as a meson dependency 2024-10-11 12:32:17 +02:00
Cargo.lock rust: pl011: use the bits macro 2025-06-03 22:44:40 +02:00
Cargo.toml rust: add "bits", a custom bitflags implementation 2025-06-03 22:44:40 +02:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build subprojects: add the foreign crate 2025-06-05 20:24:51 +02:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00
wrapper.h include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00