[Issue 13517] Only touch .di generated file if changed

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 22 14:31:58 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13517

--- Comment #18 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I would add a stipulation that if the purpose of the compiler invocation is
ONLY to build the .di file, then the compiler should rewrite it. So dmd -c -o-
-H should still touch the .di file even if it's identical to the existing one.

Otherwise, this disfavors a build system where the .di is built as a separate
step (and causes a continual "rebuild" of a .di file every time the build is
called).

--


More information about the Digitalmars-d-bugs mailing list