Using D's precise GC when running an app with DUB

rikki cattermole rikki at cattermole.co.nz
Thu May 23 15:03:03 UTC 2019


On 24/05/2019 3:01 AM, Per Nordlöw wrote:
> On Thursday, 23 May 2019 at 14:51:41 UTC, rikki cattermole wrote:
>> dub run --compiler=dmd --build=unittest -- --DRT-gcopt=gc:precise
> 
> Hmm, the flag doesn't propagate to dmd when compiling in verbose mode 
> via -v as
> 
>      dub run -v --compiler=dmd --build=unittest -- --DRT-gcopt=gc:precise
> 
> Shouldn't it?

No. You told dub to -v.

DFLAGS="-v" dub run --compiler=dmd --build=unittest -- 
--DRT-gcopt=gc:precise



More information about the Digitalmars-d-learn mailing list