Using the LDC code cache with debug and release

Cecil Ward cecil at cecilward.com
Fri Jul 7 19:00:05 UTC 2023


When you use the —cache=  option eg —cache=~/.ldccache/  do you 
need to differentiate with distinct paths for release and 
debug-build object files, or does LDC just do the right thing 
somehow? I thought about making the path to the cache directory 
different for release and debug builds. I already keep the object 
files in different directories to prevent debug and release 
builds from overwriting each other.


More information about the digitalmars-d-ldc mailing list