summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-11-03 22:30:00 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-11-03 22:30:00 +0800
commitfa86571448ea89143ca78576c8248bc02ad056bd (patch)
treea2ffeed297b3c684d49c9eeda7b709266f155019 /doc
parentbe1e3c4e09e4c5592428e71d875ef6a623c82804 (diff)
downloadNim-fa86571448ea89143ca78576c8248bc02ad056bd.tar.gz
abi check: prefer nim constant to enable, document
Diffstat (limited to 'doc')
-rw-r--r--doc/nimc.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/nimc.rst b/doc/nimc.rst
index eb1beb549..5d9ed03ab 100644
--- a/doc/nimc.rst
+++ b/doc/nimc.rst
@@ -258,6 +258,10 @@ Define               Effect
 ``ssl``              Enables OpenSSL support for the sockets module.
 ``memProfiler``      Enables memory profiling for the native GC.
 ``uClibc``           Use uClibc instead of libc. (Relevant for Unix-like OSes)
+``checkAbi``         When using types from C headers, add checks that compare
+                     what's in the Nim file with what's in the C header
+                     (requires a C compiler with _Static_assert support, like
+                     any C11 compiler)
 ==================   =========================================================