summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 0cd1f77df..ac259c560 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -46,6 +46,7 @@ const
   on* = true    ## alias for ``true``
   off* = false  ## alias for ``false``
 
+{.push warning[GcMem]: off.}
 {.push hints: off.}
 
 type
@@ -2989,6 +2990,8 @@ proc deepCopy*[T](x: T): T {.magic: "DeepCopy", noSideEffect.} = discard
   ## performs a deep copy of `x`. This is also used by the code generator
   ## for the implementation of ``spawn``.
 
+{.pop.} #{.push warning[GcMem]: off.}
+
 when not defined(booting):
   type
     semistatic*[T] = static[T] | T
tle='Blame the previous revision' href='/ahoang/Nim/blame/compiler/nimeval.nim?h=devel&id=d828b0b96eef8fd77a57a5b71f65e2ae9f6b1f30'>^
b30e237a3 ^

f0a70c7aa ^

b30e237a3 ^

12593eed7 ^
b30e237a3 ^




f0a70c7aa ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33