-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
The current implementation of ArrayVec uses repr(C), which allows passing it between separately compiled rust programs. This is nice. It would be great to have documentation on which parts of the ArrayVec ABI are considered stable and which are considered to be implementation details. Specifically, I care about these questions:
- Will future versions of
ArrayVec<T>have the same data layout as the same future version ofArrayVec<T>compiled separately? - Will future versions of
ArrayVec<T>have the same data layout as the current version ofArrayVec<T>? - Do
ArrayVec<T>andArrayVec<U>have compatible layouts ifTandUare compatible? e. g. can I transmuteArrayVec<u32>toArrayVec<UnsafeCell<u32>>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels