how do I pass --whole-archive and --no-whole-archive to dub?

rikki cattermole rikki at
Thu Aug 6 18:19:50 UTC 2020

In theory it should be as simple as setting it in lflags.

But you will need to test it, as I'm not sure if it'll propagate upwards 
to where you need it.

If that doesn't work, having dub automatically handle registration 
functions would be a nice feature request to have.

More information about the Digitalmars-d mailing list