aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Cache/Directory.zig
diff options
context:
space:
mode:
authorJonathan Marler <johnnymarler@gmail.com>2024-09-27 09:35:16 -0600
committerJonathan Marler <johnnymarler@gmail.com>2024-09-27 09:38:59 -0600
commit28189b0fa5be6b56d1d9961b4e432ac7c16a80de (patch)
treea5bbba1435339ca84b9a2d065838eb401f0fe6ae /lib/std/Build/Cache/Directory.zig
parent085cc54aadb327b9910be2c72b31ea046e7e8f52 (diff)
downloadzig-28189b0fa5be6b56d1d9961b4e432ac7c16a80de.tar.gz
zig-28189b0fa5be6b56d1d9961b4e432ac7c16a80de.zip
build: move dependency cache into Graph
The dependency cache is shared amongst all Build objects. This is currently done by allocating a single instance and storing a reference to it in each Build object. However, the Graph object already exists to host shared state so by moving it there we reuse the same pattern for shared state and avoid an extra object on the heap.
Diffstat (limited to 'lib/std/Build/Cache/Directory.zig')
0 files changed, 0 insertions, 0 deletions