shame icon indicating copy to clipboard operation
shame copied to clipboard

don't store alignments in `TypeLayout`

Open RayMarch opened this issue 6 months ago • 0 comments

in #19 we noticed that TypeLayout should maybe not contain alignment information at all see https://github.com/RayMarch/shame/pull/19/files#r2166782448 instead it should only store relative offsets of fields, sizes and array strides. Alignments should be inferred from the chosen Repr and the TypeLayoutSemantics to allow composition still.

RayMarch avatar Jun 30 '25 15:06 RayMarch