Merge pull request #4994 from arnetheduck/nim-check-abi

add a simple sizeof checker to compare nim & c types
This commit is contained in:
Andreas Rumpf
2016-11-08 14:08:36 +01:00
committed by GitHub
3 changed files with 21 additions and 1 deletions

View File

@@ -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)
================== =========================================================