On 4/17/17 6:58 PM, Atila Neves wrote:
On Monday, 17 April 2017 at 17:51:33 UTC, Russel Winder wrote:
Just in case anyone gives a ####:
I have submitted a pull request that adds ProgramAllAtOnce as a
builder in the dmd, ldc, and gdc tools of SCons. This does an 'all at
once' compilation in a single compiler instantiation, unlike the
standard module at a time compilation and then link the program. There
are lots of arguments about whether "all at once" is at all useful, I
have added it simply because it is the only way Unit-Threaded works.
It's the only way __traits(getUnitTests) works. Unfortunately. I'm just
going to fix that dmd bug myself.
Thanks!! -- Andrei