[dub] Passing --DRT-gcopt to dmd

Anonymouse asdf at asdf.net
Fri May 31 15:41:24 UTC 2019


On Friday, 31 May 2019 at 15:31:13 UTC, kinke wrote:
> 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.

Is this something I can/should report? (Where do dub issues go?)


More information about the Digitalmars-d-learn mailing list