# stage2: pre-open ZIR cache dir handles · gitcafe/zig

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

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

Visibility: public

Requested revision: 56226449d2106448ac8cd1888a7b302020e22456

Requested commit: 56226449d2106448ac8cd1888a7b302020e22456

Commit: 56226449d2106448ac8cd1888a7b302020e22456

Tree: 16f650fc09b858958b088c7d15b9793f8fb32dde

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: pre-open ZIR cache dir handles

So that we do not needlessly open and close the ZIR cache dir handles in
each AstGen operation.

```

## Parents

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

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