Zig build system not detecting when C headers have changed?

So we’re stumbling over a strange issue in the sokol-zig bindings where the underlying C library might not get recompiled when the sokol-zig dependency is updated, and the Zig caches need to be deleted to trigger a complete rebuild:

The only way I can think of how this can happen is when the Zig build system doesn’t consider included C headers when deciding whether to compile a C source file or not.

E.g. What happens on a sokol-zig update is that C headers are being updated, but the C source files including those header files remain unchanged (e.g. if the Zig build system only checks the C source files, but not included headers for being updated it wouldn’t notice a change).

Can anybody confirm whether or whether not this is the case? (but that would be a pretty big oversight, and should cause problems will all sorts of C code…)