Am Wed, 20 Nov 2013 08:49:28 +0100
schrieb Jacob Carlborg <[email protected]>:

> What about distributing a version of druntime and Phobos with asserts 
> enabled that is used by default (or with the -debug flag). Then a 
> version with asserts disabled is used when the -release flag is used.
> 
> We probably also want it to be possible to use Phobos with asserts 
> enabled even in release mode.

That is what LDC does and with the -defaultlib switch it is
easy to use the debug Phobos in release builds. Currently this
flag is mostly used to link against the shared phobos2.so.

-- 
Marco

Reply via email to