qemu-cr16/rust/migration
Paolo Bonzini 64bce66d6f rust: migration: do not store raw pointers into VMStateSubsectionsWrapper
Raw pointers were used to insert a NULL one at the end of the array.
However, Option<&...> has the same layout and does not remove Sync
from the type of the array.

As an extra benefit, this enables validation of the terminator of the
subsection array, because is_null() in const context would not be stable
until Rust 1.84.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-10-14 11:03:59 +02:00
..
src rust: migration: do not store raw pointers into VMStateSubsectionsWrapper 2025-10-14 11:03:59 +02:00
build.rs
Cargo.toml rust: use glib-sys 2025-10-03 15:14:48 +02:00
meson.build rust: use glib-sys 2025-10-03 15:14:48 +02:00
wrapper.h