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

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

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

Visibility: public

Requested revision: 254a35fd8897ea705cd454d0e7f89036e78d0c60

Requested commit: 254a35fd8897ea705cd454d0e7f89036e78d0c60

Commit: 254a35fd8897ea705cd454d0e7f89036e78d0c60

Tree: 12f76451fe621b746beda13ae611b2b99a70b937

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

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

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