Skip to content

don't store alignments in TypeLayout #23

@RayMarch

Description

@RayMarch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions