summary refs log tree commit diff stats
path: root/rust/qemu-api/README.md
blob: 53810f488828fd80c614586758061b7bc14990d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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
$ ninja bindings.inc.rs
```

## Generate Rust documentation

To generate docs for this crate, including private items:

```sh
pyvenv/bin/meson devenv -w ../rust cargo doc --no-deps --document-private-items
```