Crafter.Build/tests/StdPcmRebuild/fixture
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 8e759a8410
test: a std module rebuilt in place recompiles the units importing it
StdPcmRebuild builds a project whose main.cpp imports std, then dates
the source before the object and the object before std.pcm, as a std
module rebuilt after the object leaves them, so that nothing else makes
the object stale. The next build has to compile main.cpp again, and the
idle build before it must compile nothing. Without -fmodule-file-deps
the object was only relinked. The test redirects the cache, since
redating a std PCM the real cache shares would rebuild its other users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:59:06 +01:00
..
main.cpp test: a std module rebuilt in place recompiles the units importing it 2026-10-31 22:59:06 +01:00