mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-22 09:20:13 +00:00
The compile-time guard added in d4c87c1 rejects builds that set neither -d:noSignalHandler nor -d:ffiAllowSignalHandler. The nimble tasks already pass the flag, but CI compiles the test files with a direct `nim c -r`, which bypasses those flags and tripped the guard. These test binaries own their own process, so opt them into signal handling explicitly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nim-ffi
Allows exposing Nim projects to other languages
Example
examples/nim_timer is now a self-contained Nimble project that imports nim-ffi directly.
Use cd examples/nim_timer && nimble install -y ../.. && nimble build to compile the example.
Description
Languages
Nim
87.9%
Smarty
5.9%
C++
4.8%
CMake
1.4%