[rust-dev] compiling Rust to C?

Eric Christopher echristo at gmail.com
Fri Jul 18 10:31:09 PDT 2014

On Fri, Jul 18, 2014 at 12:29 AM, Josh Haberman <jhaberman at gmail.com> wrote:
> Is there any prospect of compiling Rust to C anytime in the mid to near future?
> This would be a really attractive option for anyone who wants to write
> in Rust, but wants the extreme portability of C.
> Actually maybe I should first ask if this is actually a tractable
> problem. Are there technical reasons that would prevent compiling Rust
> into portable C?
> LLVM's C Backend seems to have fallen out of maintenance -- would this
> provide the solution I am looking for, if it were maintained?

FWIW I removed the C Backend a few years ago because it was largely
unmaintained. It would likely need to be rewritten from scratch to do
this. If you're curious about it, let me know.


More information about the Rust-dev mailing list