Crafter.Build/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
catbot 1d0d8e1e28 feat(incremental): rebuild when an #included header changes
The staleness check compared an artifact against its own source and its
module imports. Headers were in neither set: the scanner reads `import`
lines, and a .cppm or .cpp keeps its mtime when a header it includes is
edited — so the build reported nothing to do and left objects compiled
against the previous contents. Same silent mixed-layout binary as issue
27, reached through #include instead of import.

Ask the compiler what it actually opened. Every C++ and C compile now
passes -MD -MF <artifact>.d, and Check reads that depfile back through
NewestPrerequisite, comparing every prerequisite's mtime against the
artifact. A missing depfile (an object from a crafter-build that wrote
none) or a prerequisite that no longer exists reads as "rebuild": neither
is evidence of freshness.

The parser unescapes make syntax rather than splitting on whitespace,
since clang wraps depfiles onto continuation lines and escapes spaces in
filenames.
2026-07-31 11:11:38 +00:00
..
Crafter.Build-Api.h linting 2026-07-23 01:24:42 +02:00
Crafter.Build-Asset.cppm linting 2026-07-23 01:24:42 +02:00
Crafter.Build-Clang.cppm fix(lint): constexpr-constant asks clang's evaluator, not the initialiser tokens 2026-07-31 02:05:37 +02:00
Crafter.Build-External.cppm feat(lint): no-char-pointer reads the AST, retiring the interop denylist 2026-07-30 23:46:32 +02:00
Crafter.Build-Implementation.cppm fix: re-resolve module imports before checking staleness 2026-07-30 17:12:24 +00:00
Crafter.Build-Interface.cppm fix: track what a primary module interface imports 2026-07-30 18:19:04 +00:00
Crafter.Build-Lint.cppm feat(lint): AST layer over libclang cursors 2026-07-30 23:30:41 +02:00
Crafter.Build-Platform.cppm feat(incremental): rebuild when an #included header changes 2026-07-31 11:11:38 +00:00
Crafter.Build-Progress.cppm linting 2026-07-23 01:24:42 +02:00
Crafter.Build-Shader.cppm linting 2026-07-23 01:24:42 +02:00
Crafter.Build-Test.cppm linting 2026-07-23 01:24:42 +02:00
Crafter.Build.cppm linting 2026-07-23 01:24:42 +02:00