You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/rust/qemu-api
Paolo Bonzini 559a779c6a rust: qdev: expose inherited methods to subclasses of SysBusDevice
The ObjectDeref trait now provides all the magic that is required to fake
inheritance.  Replace the "impl SysBusDevice" block of qemu_api::sysbus
with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()"
without any intermediate upcast.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2 weeks ago
..
src rust: qdev: expose inherited methods to subclasses of SysBusDevice 2 weeks ago
tests rust: qom: add ParentField 2 weeks ago
.gitignore rust: allow using build-root bindings.rs from cargo 1 month ago
Cargo.toml rust: cell: add BQL-enforcing RefCell variant 1 month ago
README.md rust: build: add "make clippy", "make rustfmt", "make rustdoc" 1 month ago
build.rs rust: build: add "make clippy", "make rustfmt", "make rustdoc" 1 month ago
meson.build rust: add a utility module for compile-time type checks 2 weeks ago

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:

$ make bindings.inc.rs

Generate Rust documentation

Common Cargo tasks can be performed from the QEMU build directory

$ make clippy
$ make rustfmt
$ make rustdoc