# place zig-cache directory next to build.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: 8cab0762d86d405f21877045e67bd1858c75e258

Requested commit: 8cab0762d86d405f21877045e67bd1858c75e258

Commit: 8cab0762d86d405f21877045e67bd1858c75e258

Tree: 123fde3fd3c96e918c74ec78b68191fc84a9c0cc

Author: Jan Philipp Hafer

Committer: Andrew Kelley

## Message

```
place zig-cache directory next to build.zig

* search upwards, if no build.zig is found
* if this fails or any error occurs, fallback to global zig-cache

Closes #11672

```

## Parents

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

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