Generating a C header for exported FFI functions


#1

I see the Rust issue remain unfixed. is there a solution outside the Rust project repo itself? What’s the best current solution for generating a C header file for the FFI exports of a crate?


#2

Not sure for Rust into C but there is one for C to Rust: https://github.com/crabtw/rust-bindgen


#3

https://github.com/Sean1708/rusty-cheddar should solve your needs.


#4

Thanks. This is what I was looking for!