# libs: fix caching behavior · gitcafe/zig

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

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

Visibility: public

Requested revision: e28b699cbfa4390366d68784b896ee2662af411d

Requested commit: e28b699cbfa4390366d68784b896ee2662af411d

Commit: e28b699cbfa4390366d68784b896ee2662af411d

Tree: e5e8726d7ddf595856e809dbfe2d67496e088100

Author: mlugg

Committer: mlugg

## Message

```
libs: fix caching behavior

glibc, freebsd, and netbsd all do caching manually, because of the fact
that they emit multiple files which they want to cache as a block.
Therefore, the individual sub-compilation on a cache miss should be
using `CacheMode.none` so that we can specify the output paths for each
sub-compilation as being in the shared output directory.

```

## Parents

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

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