[Issue 15484] core.memory.GC.disable() is not @nogc

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Dec 31 03:05:57 PST 2015


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

Daniel <wyrlon at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wyrlon at gmx.net

--- Comment #1 from Daniel <wyrlon at gmx.net> ---
Imagine an environment where you cannot even link with the GC, not because of
performance reasons but in order to reduce the size of your binary.

For this reason, no single function/symbol which is part of the GC should be
allowed in @nogc code, regardless if it allocates or not.

--


More information about the Digitalmars-d-bugs mailing list