bb42965dd4
MaybeUninit::zeroed() is handy but is not available as a "const" function until Rust 1.75.0. Remove the default implementation of Zeroable::ZERO, and write by hand the definitions for those types that need it. It may be possible to add automatic implementation of the trait, via a procedural macro and/or a trick similar to offset_of!, but do it the easy way for now. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
hw | ||
qemu-api | ||
qemu-api-macros | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Kconfig | ||
meson.build | ||
rustfmt.toml | ||
wrapper.h |