dub icon indicating copy to clipboard operation
dub copied to clipboard

Dub does not cache single-file builds with DFLAGS

Open CyberShadow opened this issue 2 years ago • 0 comments

$ DFLAGS=-unittest dub test.d
(compiles test.d...)
(runs test.d)

$ DFLAGS=-unittest dub test.d
(compiles test.d... again)
(runs test.d)

For some reason this only applies when DFLAGS is set. Without it, Dub caches the executable as expected.

See also #2672.

CyberShadow avatar Jul 20 '23 10:07 CyberShadow