https://issues.dlang.org/show_bug.cgi?id=21046
Rainer Schuetze <r.sagita...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagita...@gmx.de Component|visuald |druntime --- Comment #1 from Rainer Schuetze <r.sagita...@gmx.de> --- I guess you didn't mean to set component "visuald". I don't think you can easily strip the unittests, because they are referenced by the ModuleInfo that is generated for each module. A workaround might be to embed the testmode setting into the executable: extern(C) __gshared string[] rt_options = [ "testmode=run-main" ]; --