[Issue 18456] crt_constructor/crt_destructor segfaults if -lib

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 1 15:47:19 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18456

ponce <aliloko at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aliloko at gmail.com

--- Comment #1 from ponce <aliloko at gmail.com> ---
Same here, we also hit this:


-------- main.d ----------

extern(C) pragma(crt_destructor) void deactivateDRuntime()
{
}

--------------------------

dmd -lib main.d

--


More information about the Digitalmars-d-bugs mailing list