January 23, 2020
https://issues.dlang.org/show_bug.cgi?id=20526

--- Comment #1 from ZombineDev <petar.p.kirov@gmail.com> ---
The problem in the example snippet could be solved in phobos by guarding all nested unit tests with `version (StdUnittest)`, but I'm looking for a solution at the dmd/druntime level, as obviously this affects third-party libraries and not just phobos.

--
March 24, 2022
https://issues.dlang.org/show_bug.cgi?id=20526

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
         Resolution|---                         |FIXED

--- Comment #2 from moonlightsentinel@disroot.org ---
DMD (1c609085a8b94b97658d8ca3e07b6ca2e9c3d383) now excludes unittests from
non-root modules

--