5 Commits

Author SHA1 Message Date
Ivan FB
1eb8f2bdf8
fix Hardcoded Nim build flags in generated build files. build.rs and CMakeLists.txt both bake in --mm:orc and -d:chronicles_log_level=WARN (rust.nim:121–122, cpp.nim:463–464).
The whole point of a generic generator is decoupling — this couples every consumer of nim-ffi to one specific project's Nim build conventions. Plumb these through
  genBindings() parameters or a config block.
2026-05-11 22:11:25 +02:00
Ivan FB
729801b999
Add ffiDtor concept 2026-05-10 11:38:43 +02:00
Ivan FB
d87fe8b104
enhance cpp and rust tokio examples
Co-authored-by: Copilot <copilot@github.com>
2026-05-10 11:38:41 +02:00
Ivan FB
aa22b982be
allow auto-generate cpp code and add example 2026-05-10 11:38:41 +02:00
Ivan FB
5b908b9c5b
simplify ffi generation and add simple Rust example 2026-05-10 11:35:02 +02:00