Hi Bernhard, Thanks for your patch!
There was an identical patch last week on the list: https://lore.kernel.org/qemu-rust/20250703-rust_bindings_allow_unnecessary_transmutes-v1-1-692ca210d...@linaro.org/ -- Manos Pitsidianakis Emulation and Virtualization Engineer at Linaro Ltd