# stage2: implement caching for ZIR code · gitcafe/zig

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

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

Visibility: public

Requested revision: 015cd79f89aefd26fb1df91f3d07f7dcade21c4a

Requested commit: 015cd79f89aefd26fb1df91f3d07f7dcade21c4a

Commit: 015cd79f89aefd26fb1df91f3d07f7dcade21c4a

Tree: 715e950ffc29e59938152f0691e059863980dd62

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: implement caching for ZIR code

Notably this exposed an issue with the language having to do with the
secret safety tag on untagged unions. How can we have our cake and eat
it too? Not solved in this commit. I will file a language proposal to
tackle this issue soon.

Fixes a compile error in `std.fs.File.readvAll`.

```

## Parents

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

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