A tutorial for accessing C/C++ functions within a shared library (.dll/.so/.dylib) from Rust
[19-09-2023] Updates: Add instructions and code for an alternative way to build and run using build.rs and cmake-rs Fix the reason why not to link to C++ functions directly Include <cstring> in the code and use free instead of delete as strdup gen...
Dec 4, 20227 min read2.9K