diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-01-27 11:01:09 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-07 00:04:28 +0100 |
commit | f26137893b98c6e1fd6819d5f13cb74fafcdcff9 (patch) | |
tree | bafc3d1e08a4b6c5da65948453d82a5f2f943fd3 /rust/hw/char/pl011/README.md | |
parent | 131c58469f6fb68c89b38fee6aba8bbb20c7f4bf (diff) | |
download | qemu-f26137893b98c6e1fd6819d5f13cb74fafcdcff9.zip qemu-f26137893b98c6e1fd6819d5f13cb74fafcdcff9.tar.gz qemu-f26137893b98c6e1fd6819d5f13cb74fafcdcff9.tar.bz2 |
rust: remove unnecessary Cargo.toml metadata
Some items of Cargo.toml (readme, homepage, repository) are
only present because of clippy::cargo warnings being enabled in
rust/hw/char/pl011/src/lib.rs. But these items are not
particularly useful and would be all the same for all Cargo.toml
files in the QEMU workspace. Clean them up.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/char/pl011/README.md')
-rw-r--r-- | rust/hw/char/pl011/README.md | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/rust/hw/char/pl011/README.md b/rust/hw/char/pl011/README.md deleted file mode 100644 index cd7dea3..0000000 --- a/rust/hw/char/pl011/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# 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: - -```sh -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: - -```sh -cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu -``` - -To include direct dependencies like `bilge` (bitmaps for register types): - -```sh -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 -``` |