aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-02-25 14:03:36 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-02-25 14:03:36 -0500
commit0d4db8828a9efc05b5c3622098a8337de0b62d1e (patch)
treef87768be86d630511e694ebd09173057c7b88a58 /src/analyze.cpp
parent525c2eaf5d49f537d4ccd48ab0c5bc1f52cc3204 (diff)
downloadzig-0d4db8828a9efc05b5c3622098a8337de0b62d1e.tar.gz
zig-0d4db8828a9efc05b5c3622098a8337de0b62d1e.zip
`@cImport` works with `--cache on`
We pass -MD -MF args to clang when doing `@cImport`, which gives us a complete list of files that the C code read from. Then we add these to the cache. So even when using `@cImport` Zig's caching system remains perfect. This is a proof of concept for the mechanism that the self-hosted compiler will use to watch and rebuild files.
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions