# correct \`@cImport\` caching to handle "unhit" case · gitcafe/zig

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

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

Visibility: public

Requested revision: 67463c4357d0d0f43b8962231659fb8a1cc4869a

Requested commit: 67463c4357d0d0f43b8962231659fb8a1cc4869a

Commit: 67463c4357d0d0f43b8962231659fb8a1cc4869a

Tree: a0530424b2ddc645faee6ccf88c89cebfed10fef

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
correct `@cImport` caching to handle "unhit" case

if you hit() you have to unhit() to get the same digest if you don't
end up treating it as a hit.

```

## Parents

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

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