While working on my emulator project I’ve noticed that size of the zig-cache directory can grow really fast and can easily pass the 200GB in size.

Has the core team looked into this issue yet?

xash July 13, 2026, 3:12pm 2

It’s known: https://codeberg.org/ziglang/zig/issues/30193

Until automatic cleanup is implemented, you can just rm the folder whenever. (And if you use incremental compilation, there will be less garbage nowadays, according to the last comment.)