# zig build: add env_map entries to hash for Step.Run · gitcafe/zig

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

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

Visibility: public

Requested revision: 172dc6c3143b22802a64208f371d4dba1b90927e

Requested commit: 172dc6c3143b22802a64208f371d4dba1b90927e

Commit: 172dc6c3143b22802a64208f371d4dba1b90927e

Tree: e6ec61d9b37238b375d887fab0a9eb3bae9b31f7

Author: dweiller

Committer: Alex Rønne Petersen

## Message

```
zig build: add env_map entries to hash for Step.Run

This change fixes false-positive cache hits for run steps that get run
with different sets of environment variables due the the environment map
being excluded from the cache hash.

```

## Parents

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

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