qemu-cr16/rust/hw/timer
Paolo Bonzini 2a8a7bb8aa rust: qdev: const_refs_to_static
Now that const_refs_static can be assumed, convert the members of
the DeviceImpl trait from functions to constants.  This lets the
compiler know that they have a 'static lifetime, and removes the
need for the weird "Box::leak()".

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250908105005.2119297-10-pbonzini@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-09-17 19:00:56 +02:00
..
hpet rust: qdev: const_refs_to_static 2025-09-17 19:00:56 +02:00
Kconfig rust: Kconfig: Factor out whether HPET is Rust or C 2025-03-20 09:23:24 +01:00
meson.build