rust: fix doctests
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Feb 2025 12:55:53 +0000 (13:55 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 13 Feb 2025 12:50:43 +0000 (13:50 +0100)
commit16534af51bc0e9c3db94097ab37ebd3ed50e1c0f
tree0737cf6d26f386c251bc2debcf6bd20272356b32
parentee7d3aec54a32ce53c9b5ca86c75c945a877db19
rust: fix doctests

Doctests were not being run by CI, and have broken. Fix them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitlab-ci.d/buildtest.yml
rust/qemu-api/src/vmstate.rs
rust/qemu-api/src/zeroable.rs