Zhao Liu c48700e86d rust: prefer importing std::ptr over core::ptr 6 months ago
..
src c48700e86d rust: prefer importing std::ptr over core::ptr 5 months ago
tests 4cb7040d85 rust: tests: do not import bindings::* 5 months ago
.gitignore cb7ada5409 rust: allow using build-root bindings.rs from cargo 8 months ago
Cargo.toml 4cfe9edb1b rust: subprojects: add libc crate 5 months ago
README.md cab1d0bceb rust: build: add "make clippy", "make rustfmt", "make rustdoc" 8 months ago
build.rs cab1d0bceb rust: build: add "make clippy", "make rustfmt", "make rustdoc" 8 months ago
meson.build 8a420dd109 rust: add module to convert between success/-errno and io::Result 5 months 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