http://d.puremagic.com/issues/show_bug.cgi?id=2726
Summary: linker does not add "unused" module info Product: D Version: 1.041 Platform: Macintosh OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzi...@digitalmars.com ReportedBy: fa...@gmx.ch on OSX the moduleInfo list (beteween _minfo_beg and _minfo_end) does not include "unused" modules. This is a nice optimization, and makes sense, but it would be nice to have a way to disable it. As it is now most unitest executing programs (programs that execute all unittests of all modules) do not work, because their list of module to test is empty (as they did not import it. At minimum this behaviour should be documented, so that one knows it. --