Maíra Canal <mcanal@xxxxxxxxxx> writes: > 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: Andreas Hindborg <a.hindborg@xxxxxxxxxxx>