summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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.}