summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-12 16:06:46 +0200
committerAraq <rumpf_a@web.de>2019-07-12 21:53:45 +0200
commitf45a1b927ad99d713b8011afada32c89e07a29dd (patch)
treecb97ed00ba75a3553d59a5dd1bb9a3a3b046b374 /doc
parent03ded27021f2fedce92ba5208cb03b8dbeb7b3db (diff)
downloadNim-f45a1b927ad99d713b8011afada32c89e07a29dd.tar.gz
documented --newruntime switch
Diffstat (limited to 'doc')
-rw-r--r--doc/advopt.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index c944ffb5f..00459333d 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -25,6 +25,7 @@ Runtime checks (see -x):
   --nanChecks:on|off        turn NaN checks on|off
   --infChecks:on|off        turn Inf checks on|off
   --nilChecks:on|off        turn nil checks on|off
+  --refChecks:on|off        turn ref checks on|off (only for --newruntime)
 
 Advanced options:
   -o:FILE, --out:FILE       set the output filename
@@ -119,6 +120,8 @@ Advanced options:
   --errorMax:N              stop compilation after N errors; 0 means unlimited
   --experimental:$1
                             enable experimental language feature
-  --profiler:on|off         Enable profiling; requires `import nimprof`, and
+  --newruntime              use an alternative runtime that uses destructors
+                            and that uses a shared heap via -d:useMalloc
+  --profiler:on|off         enable profiling; requires `import nimprof`, and
                             works better with `--stackTrace:on`
                             see also https://nim-lang.github.io/Nim/estp.html