sudo apt install build-essential cmake cargo
cargo install cbindgen
cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release
make -j
The above commands will build the Rust lib project inside librtest
and then build the C++ app inside src
.
- To execute the final linked binary run
./interopcc