On Fri, 02 May 2025 13:23, Paolo Bonzini <pbonz...@redhat.com> wrote: >Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> >--- > docs/devel/rust.rst | 4 -- > rust/hw/timer/hpet/src/fw_cfg.rs | 6 +- > rust/qemu-api/src/zeroable.rs | 104 +++++-------------------------- > 3 files changed, 18 insertions(+), 96 deletions(-)
Reviewed-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org> BTW There's this TODO in qom.rs, ObjectImpl trait > /// `&mut T`. TODO: add a bound of > //[`Zeroable`](crate::zeroable::Zeroable) > /// to T; this is more easily done once Zeroable does not require a manual > /// implementation (Rust 1.75.0). > const CLASS_INIT: fn(&mut Self::Class);