mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 13:53:54 -06:00
![]() --generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04. Work around the absence. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
meson.build | ||
README.md |
PL011 QEMU Device Model
This library implements a device model for the PrimeCell® UART (PL011) device in QEMU.
Build static lib
Host build target must be explicitly specified:
cargo build --target x86_64-unknown-linux-gnu
Replace host target triplet if necessary.
Generate Rust documentation
To generate docs for this crate, including private items:
cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu
To include direct dependencies like bilge
(bitmaps for register types):
cargo tree --depth 1 -e normal --prefix none \
| cut -d' ' -f1 \
| xargs printf -- '-p %s\n' \
| xargs cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu