Re: [PATCH 1/2] rust/faux: Drop #[repr(transparent)] from faux::Registration
From: Alice Ryhl
Date: Wed Feb 26 2025 - 03:39:41 EST
On Tue, Feb 25, 2025 at 10:31 PM Lyude Paul <lyude@xxxxxxxxxx> wrote:
>
> I think this change got missed during review, we don't need
> #[repr(transparent)] since Registration just holds a single NonNull. This
> attribute had originally been added by me when I was still figuring out how
> the bindings should look like but got committed by mistake. So, just drop
> it.
>
> Signed-off-by: Lyude Paul <lyude@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>