4 ms·
Actually, one of the first tools to appear in the Rust ecosystem was a port of the "bindgen" program written for the Clay language, which has been solving the p
by kibwen 13y ago
Actually, one of the first tools to appear in the Rust ecosystem was a port of the "bindgen" program written for the Clay language, which has been solving the problem of parsing C headers for years now:
https://github.com/crabtw/rust-bindgen/ https://github.com/crabtw/rust-bindgen/
There are also long-term plans for adopting this into the compiler itself:
https://github.com/mozilla/rust/issues/2124 https://github.com/mozilla/rust/issues/2124
- simias 13y agoAh, thank you, I knew I saw something like that when I looked into rust a while back, but there was no mention of it in the Rust FFI guide[1]. It should definitely be included in the compiler at some point, it's a vital feature IMO. [1] http://static.rust-lang.org/doc/master/guide-ffi.html http://static.rust-lang.org/doc/master/guide-ffi.html