mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-01 19:44:44 +00:00
* fixes #22262; -d:useMalloc broken with --mm:none and threads on
* fixes
(cherry picked from commit a23e53b490)
This commit is contained in:
@@ -88,7 +88,7 @@ type
|
||||
|
||||
proc alloc(r: var MemRegion, size: int): pointer =
|
||||
result = alloc(size)
|
||||
proc alloc0Impl(r: var MemRegion, size: int): pointer =
|
||||
proc alloc0(r: var MemRegion, size: int): pointer =
|
||||
result = alloc0Impl(size)
|
||||
proc dealloc(r: var MemRegion, p: pointer) = dealloc(p)
|
||||
proc deallocOsPages(r: var MemRegion) = discard
|
||||
|
||||
Reference in New Issue
Block a user