aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/README.md
blob: ed1b7ab263d72c0f0cef3133e53208f8a905166b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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:

```console
$ make bindings.inc.rs
```

## Generate Rust documentation

Common Cargo tasks can be performed from the QEMU build directory

```console
$ make clippy
$ make rustfmt
$ make rustdoc
```