Provide a technical specification of the layout algorithms that future compilers must adhere to in order to ensure binary compatibility as part of locking down ABI Stability
The optimizer makes assumptions about layout equivalence. See canUnsafeCastStruct/Tuple/Enum. Move this logic into a central place where we specify ABI requirements.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Task, AffectsABI | |Assignee | None | |Priority | Medium | md5: da7c0c4eedd5aafaec6dfec6b21671f4Issue Description:
Provide a technical specification of the layout algorithms that future compilers must adhere to in order to ensure binary compatibility as part of locking down ABI Stability