News for hackers. Stuff that matters.
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.
Re:A Week with Mozilla's Rust by dbaupp on Thursday August 22, 2013 @03:41AM (#6255698)
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).)

Re:A Week with Mozilla's Rust by pjmlp on Thursday August 22, 2013 @04:48AM (#6255954)
This is the approach also taken by DStep for D.

https://github.com/jacob-carlborg/dstep