rust-opaque-example Example of using opaque C structs in rust FFI project. More details Build the shared library cd shared_lib mkdir build cd build cmake .. make Run the example cd opaque-rs LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../shared_lib/build cargo test