logoalt Hacker News

zozbot234yesterday at 12:18 PM0 repliesview on HN

You can write a binary library that exposes a C ABI using Rust (which is indistinguishable from an ordinary C/C++ library) and then provide source for a Rust wrapper crate that provides a "safe" interface to it, much like a C header file.