https://issues.dlang.org/show_bug.cgi?id=23177
--- Comment #11 from Richard Cattermole <alphaglosi...@gmail.com> --- (In reply to Walter Bright from comment #10) > The ModuleInfo is necessary for static construction. For a DLL, the static > construction is handled by DllMain. If the ModuleInfo is exported, the user > of the dll will run the static constructors again. This is already handled, we're good to go, it will only do what is in the binary. https://github.com/dlang/dmd/blob/master/druntime/src/rt/minfo.d#L264 --