On Fri, Feb 9, 2024 at 11:32 PM Maíra Canal <mcanal@xxxxxxxxxx> wrote: > > There are cases where we need to check the alignment of the pointers > returned by `into_foreign`. Currently, this is not possible to be done > at build time. Therefore, add a property to the trait ForeignOwnable, > which specifies the alignment of the pointers returned by > `into_foreign`. > > Suggested-by: Alice Ryhl <aliceryhl@xxxxxxxxxx> > Signed-off-by: Maíra Canal <mcanal@xxxxxxxxxx> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>