So I'm writing a Rust FFI to a C++ library that has an extern "C" block with C-style function headers within it. And my low-level FFI builds.
However, when I use my FFI in another project, it doesn't link properly, and I get undefined reference to operator new(), delete(), etc.
My question is:
Am I screwed because this is C++ and you can't link Rust to C++ yet?
Should the application consuming the FFI library deal with the linking issue somehow, and if so, how?
Can my libsomething.a be built somehow to include these C++ components, and if so, how? I'm currently using the gcc crate rather generically.
put your own solution here