diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-02 10:31:28 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-06 16:02:04 +0200 |
| commit | 0823837224be428d643dc7000fa534f8aedea5fd (patch) | |
| tree | c23edd78e0fb56e52f74876eebfd660814d6e643 /docs/devel | |
| parent | 465a4b80e2afd93f2eb4c9f55233788ebfb47ac0 (diff) | |
| download | focaccia-qemu-0823837224be428d643dc7000fa534f8aedea5fd.tar.gz focaccia-qemu-0823837224be428d643dc7000fa534f8aedea5fd.zip | |
rust: use MaybeUninit::zeroed() in const context
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel')
| -rw-r--r-- | docs/devel/rust.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/devel/rust.rst b/docs/devel/rust.rst index 8167ff49aa..13a002cfe6 100644 --- a/docs/devel/rust.rst +++ b/docs/devel/rust.rst @@ -83,10 +83,6 @@ are missing: * "Return position ``impl Trait`` in Traits" (1.75.0, blocker for including the pinned-init create). -* ``MaybeUninit::zeroed()`` as a ``const`` function (1.75.0). QEMU's - ``Zeroable`` trait can be implemented without ``MaybeUninit::zeroed()``, - so this would be just a cleanup. - * ``c"" literals`` (stable in 1.77.0). QEMU provides a ``c_str!()`` macro to define ``CStr`` constants easily |