D, SCons, Dub

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 17 15:58:19 PDT 2017


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.

Atila


More information about the Digitalmars-d mailing list