# Use the global cache dir for the manifests of generated mingw \`\.lib\`s · gitcafe/zig

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

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

Visibility: public

Requested revision: 469643940c9cdce90fbd44e437592dbb608f2443

Requested commit: 469643940c9cdce90fbd44e437592dbb608f2443

Commit: 469643940c9cdce90fbd44e437592dbb608f2443

Tree: c8e95a8c8fedd578262c938d072d9ac345b2f925

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Use the global cache dir for the manifests of generated mingw `.lib`s

Fixes a mismatch where the manifests would be written to the local cache dir, but the .def/.lib files themselves would be written to the global cache dir. This meant that if you cleared your global cache, your local cache would still think that the .lib files existed in the cache and it'd lead to 'No such file or directory' errors at linktime.

This mismatch was introduced in the stage1 -> stage2 transition of this code.

```

## Parents

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

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