mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
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.