# builtin: Add zig_version · gitcafe/zig

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

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

Visibility: public

Requested revision: a0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb

Requested commit: a0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb

Commit: a0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb

Tree: 3af35b3737044d92a507541684e240be9f86d64d

Author: Jay Petacat

Committer: Andrew Kelley

## Message

```
builtin: Add zig_version

This will enable code to perform version checks and make it easier to
support multiple versions of Zig.

Within the SemVer implementation, an intermediate value needed to be
coerced to a slice to workaround a comptime bug.

Closes #6466

```

## Parents

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

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