Skip to content

kgrech/rust_c_interop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust and C Interoperability Build Status

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

Run

To run debug build with address sanitizer

cmake -DCMAKE_BUILD_TYPE=Debug .
make
./rust_c_interop

About

A few example on how to pass data between rust and C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published