# Compilation: avoid Cache hash dependency on zig lib path · gitcafe/zig

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

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

Visibility: public

Requested revision: 58d3ee2a08f5a1f1c66d5e3b4f215361073c6372

Requested commit: 58d3ee2a08f5a1f1c66d5e3b4f215361073c6372

Commit: 58d3ee2a08f5a1f1c66d5e3b4f215361073c6372

Tree: 6200d94b14457a36a592585ee7c1e15bc92aafc9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Compilation: avoid Cache hash dependency on zig lib path

 * Update for the breaking changes to std.fs.path.resolve. This had a
   happy side effect of deleting some error handling code which is no
   longer needed.
 * Introduce cache_exempt_flags field to CSourceFile. This is used only
   for include directories when building libc++ and libc++abi which
   depend only on the zig lib path.
 * libc_include_dir_list is only added to the cache hash when it
   contains directories which have been obtained from system probing. It
   is exempt when the directories depend only on the zig lib path.

```

## Parents

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

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