3 Commits

Author SHA1 Message Date
Jazz Turner-Baggs
798fbf731a
Rust -> Nim ABI (#62)
* Use correct build hook

* force sret like return from rust code for nim compatibility

* Fix target mismatch

* Update usages
2026-02-24 15:28:02 -08:00
osmaczko
803a11ce27
chore(nim-bindings): replace dynlib dlopen with plain importc
The dynlib pragma hard-coded a library path and resolved it via dlopen() at
runtime, preventing static linking and forcing a specific load-time path.
Using bare {.importc.} lets consumers choose: link liblibchat dynamically
at link time (--passL:-llibchat) or link it statically into their binary.
2026-02-23 22:10:39 +01:00
Jazz Turner-Baggs
1cb1ffc996
Nim FFI Wrapper for LibChat (#25)
* remove unneeded code

* Update comment style

* Update Nim side to support safer_ffi

* Fix Introduction from impl

* Updates
2026-01-28 10:38:08 -08:00