Using the LDC code cache with debug and release

Johan j at j.nl
Mon Nov 20 21:38:33 UTC 2023


On Friday, 7 July 2023 at 19:00:05 UTC, Cecil Ward wrote:
> When you use the —cache=  option eg —cache=~/.ldccache/  do you 
> need to differentiate with distinct paths for release and 
> debug-build object files

No, you can use the same cache.

> , or does LDC just do the right thing somehow?

Yes it does. Any commandline flag that changes object file output 
results in a different cache entry.

-Johan


More information about the digitalmars-d-ldc mailing list