# std: update for language changes · gitcafe/zig

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

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

Visibility: public

Requested revision: b69bfe0c08da8dda53b51fe40361b081dc7d726c

Requested commit: b69bfe0c08da8dda53b51fe40361b081dc7d726c

Commit: b69bfe0c08da8dda53b51fe40361b081dc7d726c

Tree: 7b7e0fd38e4ec7ad5be7cff492aee1677922ea4a

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
std: update for language changes

Now that zig1.wasm is updated, apply the matching standard library
changes.

The main one is in `std.builtin.Type`, where `alignment` fields now have
type `?usize` rather than `comptime_int`.

Additionally, we need to add explicit backing integers to some packed
unions, because (due to https://github.com/ziglang/zig/issues/24714)
they need explicit backing integers to be used in `extern` contexts.
This change could not happen before now, because prior to this branch,
packed unions did not allow explicit backing integer types (that is,
this branch implemented https://github.com/ziglang/zig/issues/25350).

```

## Parents

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

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