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