mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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.
8994 lines
386 KiB
8994 lines
386 KiB