[dub] Passing --DRT-gcopt to dmd

kinke noone at nowhere.com
Fri May 31 15:31:13 UTC 2019


On Friday, 31 May 2019 at 10:27:44 UTC, Anonymouse wrote:
>> $ grep dflags dub.json
>>     "dflags": [ "-lowmem", "--DRT-gcopt=profile:1" ],

This should work indeed. I guess it doesn't because dub probably 
uses a response file containing all cmdline options, whereas 
-lowmem definitely [and --DRT-* probably] need to be direct 
cmdline args.


More information about the Digitalmars-d-learn mailing list