Closed kinke closed 3 months ago
✅ PR OK, no changes in deprecations or warnings
Total deprecations: 0
Total warnings: 0
Build statistics:
statistics (-before, +after)
executable size=5259464 bin/dub
rough build time=62s
The flag was introduced in LDC v1.1 in 2016: https://github.com/ldc-developers/ldc/commit/141310c77cb433ca358bcc65e7117166b975061f
It's just that since v1.25 it additionally implies a concurrent-safe unique temp dir instead of the cwd (if you don't specify a -od
objects dir explicitly).
@WebFreak001: Okay, I've re-added support for all LDC versions.
This was a workaround for older LDC versions. Since LDC v1.25,
-cleanup-obj
implies that the temporary object files are placed into a unique temp directory (per compiler invocation), so that object file collisions across parallel dub invocations cannot happen anymore.