On Mon Jun 29, 2026 at 9:09 AM CEST, Alexandre Courbot wrote: > Since there is no particular urgency to switch from transmute to > zerocopy, I think it makes sense to merge things in an order that limits > churn as much as possible. > > This means the conversion should probably be done bottom-to-top, > starting with the bindings, then the types that embed them. For the > bindings, `#[derive(zerocopy_derive::most_traits)]` should be landing > soon [1] and I would like us to understand first whether that is > something we want to use with the bindings; if so, let's wait for it to > be available (unless there is a good reason to convert quickly) as each > change to `bindings.rs` is almost 200 LoCs.
Doing another subsequent conversion to most_traits seems trivial. The upside would be that we could remove the transmute::* types from nova entirely, which also allows us to switch the DMA code to zerocopy. No need to go for it with might and main, but a minor inconvinience like the above might be worth taking, as switching to zerocopy in core infrastructure can simplify backports.
