Re:C2rust: Transpile C to Rust
by gpm on Wednesday February 02, 2022 @12:50AM
(#30174240)
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.
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/