summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-05-13 22:17:38 +0200
committerAndreas Rumpf <rumpf_a@web.de>2020-05-13 22:17:38 +0200
commit79fe87500ff550bba5a2145d2cc405c9e0c944af (patch)
treee2e4170e5fea07ac106785fa9274aeedcceac072 /lib
parent3573a4f9c13ff2f68afbd1931fc06cc463eb1748 (diff)
downloadNim-79fe87500ff550bba5a2145d2cc405c9e0c944af.tar.gz
fixes #13935
Diffstat (limited to 'lib')
-rw-r--r--lib/system/mm/malloc.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system/mm/malloc.nim b/lib/system/mm/malloc.nim
index 0525b0951..883baaeb4 100644
--- a/lib/system/mm/malloc.nim
+++ b/lib/system/mm/malloc.nim
@@ -1,4 +1,6 @@
 
+{.push stackTrace: off.}
+
 proc allocImpl(size: Natural): pointer =
   c_malloc(size.csize_t)
 
@@ -81,3 +83,4 @@ proc dealloc(r: var MemRegion, p: pointer) = dealloc(p)
 proc deallocOsPages(r: var MemRegion) = discard
 proc deallocOsPages() = discard
 
+{.pop.}