dub and -lowmem: does nothing

Anonymouse zorael at gmail.com
Sat Mar 21 09:34:11 UTC 2020


On Saturday, 21 March 2020 at 00:17:37 UTC, kinke wrote:
> Most likely because dub doesn't actually invoke the listed 
> command, but uses a response file to work around cmdline length 
> limits. -lowmem in response files is ignored by DMD (needs to 
> be parsed and set before druntime initialization, but response 
> file parsing needs druntime + GC). It works for LDC though.

So there is no way to do -lowmem with dub and dmd?

I'm not having out-of-memory problems with ldc, luckily.


More information about the Digitalmars-d-learn mailing list