Commit Graph

2 Commits

Author SHA1 Message Date
378fcbca40 stale_build: follow every copy of a header in the include directories
The fallback took the first match in a fixed order (runtime/src, then
runtime/shims). CMake orders the directories per target, so a program built
with `shims src` takes the shims copy: editing it left the program looking
current. Now every match counts as a source. That can add a rebuild, never
miss one. No header name exists in two of these directories today, so the
result on the current tree is unchanged (665 quoted includes: 589 next to
their file, 76 through the directories, 0 unresolved).

STALE-BUILD-INCLUDE-DIRS
2026-11-24 11:31:30 +01:00
a92dd6a11c stale_build: follow includes through the CMake include directories (STALE-BUILD-INCLUDE-DIRS)
A quoted #include was resolved only next to the including file, so a header the build finds through
target_include_directories (runtime/src, runtime/shims, the xtaskqueue directories) was never a source of the
program and editing it did not mark the built program stale. Measured over runtime/test/*.cpp: 76 of 665 quoted
includes are not next to their file; all 665 now resolve.
2026-11-24 11:01:21 +01:00