aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-09-13 14:10:13 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-09-13 14:10:13 -0700
commitfda6d44778f3faf53c66945a0db65be68113416f (patch)
tree56d5a1888b773308399ecfd54dd345f9673af26e /src/codegen/llvm.zig
parentc25ce5bba0d00283ad4de9077dba5a8d5255b619 (diff)
downloadzig-fda6d44778f3faf53c66945a0db65be68113416f.tar.gz
zig-fda6d44778f3faf53c66945a0db65be68113416f.zip
zig cc: do not enable the cache for link operations
This commit makes `zig cc` match the equivalent behavior of `zig build-exe` with regards to caching. That is - it will cache individual .c to .o compilations (with the usual exceptions), but will always repeat the linking process so that incremental linking has a chance to happen. Perhaps a future enhancement will provide a way to get the old behavior, but I suspect this new behavior will be preferred by everyone, because it is closer to what C compilers do. Note that the old behavior can be obtained by switching to `zig build-exe` instead of `zig cc` and using the `--enable-cache` parameter. Closes #12317
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions