So, I am writing Rust FFI to the C ++ library, which has an βCβ extern block with C-style function headers. And my low level FFI builds.
However, when I use my FFI in another project, it does not refer correctly, and I get an undefined reference to the new (), delete () operator, etc.
My question is:
I screwed up because it is C ++, and you still cannot associate Rust with C ++?
If the application using the FFI library is somehow related to the binding problem, and if so, how?
Can my libsomething.a be somehow embedded in these C ++ components, and if so, how? I am currently using the gcc box in general.
post your own solution here
source share