www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21393] New: core.thread.fiber: ignores RAM allocation if


          Issue ID: 21393
           Summary: core.thread.fiber: ignores RAM allocation if
                    mmap/valloc/malloc not found
           Product: D
           Version: D2
          Hardware: All
                OS: Other
            Status: NEW
          Severity: normal
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: feklushkin.denis gmail.com

Code inside of fiber.d silently ignores RAM allocation if all of
mmap/valloc/malloc calls is not detected by __traits( compiles, xxx ).

Expected behavior: compilation error.

Related unsucessful PR: https://github.com/dlang/druntime/pull/3241

Nov 15 2020