aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorMotiejus Jakštys <motiejus@uber.com>2023-05-19 10:12:47 +0300
committerAndrew Kelley <andrew@ziglang.org>2024-03-14 09:32:56 -0700
commit400145ee3bb0740cc274a75b7c612d799811b5fe (patch)
tree01a4303a0d32299630f8a876ecc4d8978f59f408 /src/Module.zig
parentbc5b09469509fae80e989adc511e2f31aca05dc0 (diff)
downloadzig-400145ee3bb0740cc274a75b7c612d799811b5fe.tar.gz
zig-400145ee3bb0740cc274a75b7c612d799811b5fe.zip
reduce garbage for repeated `zig cc -` calls
Context: user provides `-` to read from stdin instead of a file. Before: it would create a file in $ZIG_LOCAL_CACHE_DIR/tmp/ for each invocation and leave it there. After: it hashes the file contents and renames the file to the hash. Result: repeated invocations of `zig cc` do not cause so much trash to be created.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions