Re:A Week with Mozilla's Rust
by pjmlp on Thursday August 22, 2013 @02:16AM
(#6255447)
The only way to do this fully automatic is to integrate a partial C compiler, able to understand the pre-processor and all types of declarations.
[ Parent
| on HN ]
There was/is a plan to use clang to help with this.
(In fact, rustc used to build clang as well as LLVM, but this was disabled since it wasn't being used (yet).)
This is the approach also taken by DStep for D.