I'm interested in building Rust bindings for bchlib
, an error correction library that is part of the Linux kernel (header and code).
What would be the right way to do so? Should I copy the header and C files to my own directory and run bindgen on them, or should I refer to my existing system files via build.rs
?
Any pointers would be appreciated.