On Monday, 11 January 2016 at 16:24:56 UTC, ponce wrote:
it builds with flags -release -inline -O -w BUT NOT -unittest


Makes sense https://github.com/D-Programming-Language/dub/issues/747. The compiler does check assertions in unittest blocks even in release builds, right? It's really trivial to add so you might have a try yourself https://github.com/D-Programming-Language/dub/blob/3ab683b023bd58dd101e110cf2f6199911eb7477/source/dub/package_.d#L307. In the meantime it's possible to define a custom build type http://code.dlang.org/package-format?lang=json#build-types.

Reply via email to