You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The crate supports no_std, but the Uuid type isn't FFI safe/repr(transparent)? There doesn't seem to be any reason for it not to be. That attribute is stable since 1.28.0, which is below the crates MSRV.
The text was updated successfully, but these errors were encountered:
Uuid isn't currently #[repr(transparent)] so that it doesn't leak its internal layout. Arrays are also a bit strange for FFI, so folks that need to use a #[repr(transparent)]Uuid in a FFI would need to pass it as &Uuid. This isn't necessarily a reason not to add a #[repr(transparent)] though.
Based on #461 by @DianaNites
The crate supports
no_std
, but the Uuid type isn't FFI safe/repr(transparent)
? There doesn't seem to be any reason for it not to be. That attribute is stable since1.28.0
, which is below the crates MSRV.The text was updated successfully, but these errors were encountered: