summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSizhe Zhao <prc.zhao@outlook.com>2020-06-27 22:51:48 +0800
committerGitHub <noreply@github.com>2020-06-27 16:51:48 +0200
commitad00d616e8ed3dc3e7b1e8fb4a8681e5b4eca0e8 (patch)
treef7764b08157d862dca5ac5333be10eb7e116d9ed
parent90808877c54a3822a978124f39f470ea95e37d4d (diff)
downloadNim-ad00d616e8ed3dc3e7b1e8fb4a8681e5b4eca0e8.tar.gz
Warn about calling wrappers at compile time until #14049 is fixed. (#14828)
-rw-r--r--doc/manual.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index da50e2c56..9f5252ae0 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -843,7 +843,10 @@ language features:
 * closure iterators
 * the ``cast`` operator
 * reference (pointer) types
-* the FFI
+* FFI
+
+The use of wrappers that use FFI and/or ``cast`` is also disallowed. Note that
+these wrappers include the ones in the standard libraries.
 
 Some or all of these restrictions are likely to be lifted over time.