-
Notifications
You must be signed in to change notification settings - Fork 48
Struct layout calculation #355
Copy link
Copy link
Closed
Labels
area:compilerRelated to code compilation or type checkingRelated to code compilation or type checkinggood-first-issueAn issue considered simple enough for new contributorsAn issue considered simple enough for new contributorskind:featureNew feature or requestNew feature or requeststatus:help-wantedOpen for contributorsOpen for contributors
Description
Metadata
Metadata
Assignees
Labels
area:compilerRelated to code compilation or type checkingRelated to code compilation or type checkinggood-first-issueAn issue considered simple enough for new contributorsAn issue considered simple enough for new contributorskind:featureNew feature or requestNew feature or requeststatus:help-wantedOpen for contributorsOpen for contributors
To statically determine struct layout (for 32b, 64b and wide architecture sets), we'll need to calculate struct layout.
I am planning to make structures have
Pack = 4 / 8andLayoutKind.Explicitfor these architectures.See the documentation on pack.
Look for number
355in the code when implementing this.