This repo demonstrate how to interop C with Rust.
- The book: FFI
- Layout of reference and pointer types
- Build Scripts
- rust-lang/cc-rs: Rust library for build scripts to compile C/C++ code into a Rust library
- rust-lang/rust-bindgen: Automatically generates Rust FFI bindings to C (and some C++) libraries.
- mozilla/cbindgen: A project for generating C bindings from Rust code