[Issue 20699] -lowmem does nothing with dmd if passed via dub

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 5 02:31:02 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=20699

--- Comment #6 from JR <zorael at gmail.com> ---
(In reply to hsteoh from comment #5)
> Run dub with --vverbose and it should show the compile commands explicitly.

This is true, but there is no --dry-run to make it only output the commands
without also building the package. So I can't programmatically capture the
output and grep it with a script/short program in a neat way.

Manually copy/pasting the command into a different build system (e.g. makefiles
if I can get that to work) breaks as soon as a dependency is updated and its
~/.dub/packages path changes, provided I use dub for dependency management.

--


More information about the Digitalmars-d-bugs mailing list