On Tue, Sep 08, 2026 at 07:38:26PM +0200, Paolo Bonzini wrote: > Date: Tue, 8 Sep 2026 19:38:26 +0200 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH] rust: bindings: disable more clippy warnings > X-Mailer: git-send-email 2.55.0 > > The clippy::complexity category includes manual_div_ceil, which triggers > with e.g. bindgen 0.73.2. It is not really relevant to automatically > generated code so drop it from all bindgen crates, but keep it > enabled on purpose for other code. > > Reported-by: Peter Maydell <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > --- > Cargo.toml | 1 + > rust/bindings/chardev-sys/lib.rs | 1 + > rust/bindings/hwcore-sys/lib.rs | 1 + > rust/bindings/migration-sys/lib.rs | 1 + > rust/bindings/qom-sys/lib.rs | 1 + > rust/bindings/system-sys/lib.rs | 1 + > rust/bindings/util-sys/lib.rs | 1 + > 7 files changed, 7 insertions(+)
Reviewed-by: Zhao Liu <[email protected]>
