4 ms·
Yes, interop is a much more common use case, but this just isn't the tool for that. Rust-bindgen is. Which "just" tries to translate header files, since rustc
by gpm 5y ago
Yes, interop is a much more common use case, but this just isn't the tool for that.
Rust-bindgen is. Which "just" tries to translate header files, since rustc can link to C object files just fine. And for what it's worth, I'm pretty sure most of your complaints do apply to that tool.
https://github.com/rust-lang/rust-bindgen/ https://github.com/rust-lang/rust-bindgen/