# type: give empty unions 1-byte alignment · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9965d960b594dcdc67b356201eba57db38be24f5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9965d960b594dcdc67b356201eba57db38be24f5

Requested commit: 9965d960b594dcdc67b356201eba57db38be24f5

Commit: 9965d960b594dcdc67b356201eba57db38be24f5

Tree: 08713babf97744ec7f8998bbb8e7fa41be5103f8

Author: mlugg

Committer: Andrew Kelley

## Message

```
type: give empty unions 1-byte alignment

Zero-byte alignment is no longer valid for runtime types. I made most of
these changes in an earlier commit, but missed this case.

```

## Parents

- [d3f3de73ba181c96008e7e98832764b23e637875](https://git.cafe/gitcafe/zig/commit/d3f3de73ba181c96008e7e98832764b23e637875?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9965d960b594dcdc67b356201eba57db38be24f5?format=markdown)
