rust: build: add "make clippy", "make rustfmt", "make rustdoc"
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Nov 2024 08:11:48 +0000 (09:11 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Dec 2024 17:44:06 +0000 (18:44 +0100)
commitcab1d0bceb6d042674f6892216d1769021f73916
tree872f6544c4dfa2e435584cc469435f859e5970b6
parent2f9eec8f72673f97766eba1682a75f06f16302cb
rust: build: add "make clippy", "make rustfmt", "make rustdoc"

Abstract common invocations of "cargo", that do not require copying
the generated bindgen file or setting up MESON_BUILD_ROOT.

In the future these could also do completely without cargo and invoke
the underlying programs directly.

Reviewed-by: Junjie Mao <junjie.mao@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/meson.build
rust/qemu-api/README.md
rust/qemu-api/build.rs