Dub generates a library file that is larger in size than the one built on command line.

Mike Parker aldacron at gmail.com
Sun Dec 17 03:58:33 UTC 2017


On Sunday, 17 December 2017 at 02:42:44 UTC, Venkat wrote:
> dub build --vverbose
>
> That is the command I used. Would it be right to assume that -g 
> is being added because --vverbose ? The reason I ask is the 
> file size is about the same when I run the below command.
>
> dub build

It's because debug builds are the default. See:

https://code.dlang.org/docs/commandline#buildI


More information about the Digitalmars-d-learn mailing list