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

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

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

Visibility: public

Requested revision: b84db311d90d722c206a7eea5464f46fd1b9e827

Requested commit: b84db311d90d722c206a7eea5464f46fd1b9e827

Commit: b84db311d90d722c206a7eea5464f46fd1b9e827

Tree: a12db400890f30971815fa400f17ac04854c8936

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

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

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