# Compilation: fix whole mode cache hash · gitcafe/zig

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

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

Visibility: public

Requested revision: 7f13754778ff1c0709b5b3e63de40ffbf5049164

Requested commit: 7f13754778ff1c0709b5b3e63de40ffbf5049164

Commit: 7f13754778ff1c0709b5b3e63de40ffbf5049164

Tree: 458d63b09df3770a61ab7f7e21e77ab30cb56424

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Compilation: fix whole mode cache hash

before this commit it was trying to hash based on resolved bin_file
settings, but bin_file was always null since cache mode is always whole
when this function is called! hash based on the lf_open_opts instead.

```

## Parents

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

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