summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-03-05 02:33:16 +0800
committerGitHub <noreply@github.com>2021-03-04 19:33:16 +0100
commite1cc3b83fba0bc66790959d3cd84d70464c31e4f (patch)
tree80eb07c8be4d7e5ab60033afc9b0579a4ebe8fec /doc
parent2e3d324cc6d2bb923af6acaa2a5fd8da4ca9c286 (diff)
downloadNim-e1cc3b83fba0bc66790959d3cd84d70464c31e4f.tar.gz
deprecate newruntime (#17245)
* deprecate newruntime
* tests
* Update compiler/commands.nim
Diffstat (limited to 'doc')
-rw-r--r--doc/advopt.txt1
-rw-r--r--doc/nimc.rst4
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index 86d9cde1e..02476a1ac 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -25,7 +25,6 @@ Runtime checks (see -x):
   --floatChecks:on|off      turn all floating point (NaN/Inf) checks on|off
   --nanChecks:on|off        turn NaN checks on|off
   --infChecks:on|off        turn Inf checks on|off
-  --refChecks:on|off        turn ref checks on|off (only for --newruntime)
 
 Advanced options:
   -o:FILE, --out:FILE       set the output filename
diff --git a/doc/nimc.rst b/doc/nimc.rst
index f92e40617..ea173691f 100644
--- a/doc/nimc.rst
+++ b/doc/nimc.rst
@@ -431,8 +431,8 @@ Define                   Effect
 ``useMalloc``            Makes Nim use C's `malloc`:idx: instead of Nim's
                          own memory manager, albeit prefixing each allocation with
                          its size to support clearing memory on reallocation.
-                         This only works with ``gc:none`` and
-                         with ``--newruntime``.
+                         This only works with ``gc:none``, ``gc:arc`` and
+                         ``--gc:orc``.
 ``useRealtimeGC``        Enables support of Nim's GC for *soft* realtime
                          systems. See the documentation of the `gc <gc.html>`_
                          for further information.