# std.Build: make cache_root and global_cache_root relative to cwd · gitcafe/zig

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

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

Visibility: public

Requested revision: 3f8f63b132566683ffc1d3ec51e7f49346d88f2e

Requested commit: 3f8f63b132566683ffc1d3ec51e7f49346d88f2e

Commit: 3f8f63b132566683ffc1d3ec51e7f49346d88f2e

Tree: 0165781535b45ef67714d583107b1e124c055b3c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build: make cache_root and global_cache_root relative to cwd

This makes it so that when there is a tree of std.Build objects, only
one zig-cache is used (the top-level application) instead of polluting
package directories with zig-cache folders.

```

## Parents

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

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