Temporary files for `-run`

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat Apr 30 02:09:07 PDT 2016


I think at the moment "ldc2 -run program.d" cannot be run 
multiple times in parallel (I hit this issue while writing some 
lit-based tests). LDC will generate the same temporary files for 
each parallel run and will delete them, resulting in strange 
problems when different processes are deleting/accessing the 
files in an unfortunate sequence.

My question to you:
does it make sense to work on a PR to generate "random" obj+exe 
filenames for "-run" ?

cheers,
   Johan



More information about the digitalmars-d-ldc mailing list