diff options
Diffstat (limited to 'lib/system/inclrtl.nim')
-rw-r--r-- | lib/system/inclrtl.nim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/system/inclrtl.nim b/lib/system/inclrtl.nim index 5c82db4da..aac802229 100644 --- a/lib/system/inclrtl.nim +++ b/lib/system/inclrtl.nim @@ -1,6 +1,6 @@ # # -# Nimrod's Runtime Library +# Nim's Runtime Library # (c) Copyright 2014 Andreas Rumpf # # See the file "copying.txt", included in this @@ -46,3 +46,8 @@ else: when not defined(nimsuperops): {.pragma: operator.} + +when defined(nimlocks): + {.pragma: benign, gcsafe, locks: 0.} +else: + {.pragma: benign, gcsafe.} |