# stage2: add the zig version to AstGen cache hash · gitcafe/zig

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

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

Visibility: public

Requested revision: 3ef9bd587987710591724448ddfe28288d3abff8

Requested commit: 3ef9bd587987710591724448ddfe28288d3abff8

Commit: 3ef9bd587987710591724448ddfe28288d3abff8

Tree: 11a78e9bff7d17ad2f6958bd90ac20fa8d0b2470

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: add the zig version to AstGen cache hash

This solves the problem of different versions of Zig having different
binary representations of ZIR code.

closes #9290

```

## Parents

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

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