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.
Andrew Kelley committed on 2/25/2019, 7:03:36 PMparent525c2ea
9 files changedLine totals unavailable