The project is a little demo on how to compile and use Rust and C together. It demos 7 ways to pass strings between rust and C.
Read more on dev.to
To run debug build with address sanitizer
cmake -DCMAKE_BUILD_TYPE=Debug .
make
./rust_c_interop
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The project is a little demo on how to compile and use Rust and C together. It demos 7 ways to pass strings between rust and C.
Read more on dev.to
To run debug build with address sanitizer
cmake -DCMAKE_BUILD_TYPE=Debug .
make
./rust_c_interop