Merge pull request #4994 from arnetheduck/nim-check-abi
add a simple sizeof checker to compare nim & c types
This commit is contained in:
commit
86b58e83ea
3 changed files with 21 additions and 1 deletions
|
|
@ -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)
|
||||
================== =========================================================
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue