January 29, 2023
https://issues.dlang.org/show_bug.cgi?id=23177

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #10 from Walter Bright <bugzilla@digitalmars.com> ---
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.

--
January 29, 2023
https://issues.dlang.org/show_bug.cgi?id=23177

--- Comment #11 from Richard Cattermole <alphaglosined@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

--
June 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23177

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23974

--
June 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23177

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dll

--- Comment #12 from Walter Bright <bugzilla@digitalmars.com> ---
For another take on this, see: https://issues.dlang.org/show_bug.cgi?id=23974

--
1 2
Next ›   Last »