From f45a1b927ad99d713b8011afada32c89e07a29dd Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 12 Jul 2019 16:06:46 +0200 Subject: [PATCH] documented --newruntime switch --- doc/advopt.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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