This is a full alternative implementation of the Rust language on top of GCC with the goal to become fully upstream with the GNU toolchain.
As this is a front-end project, the compiler will gain full access to all of GCC’s internal middle-end optimization passes which are distinct from LLVM. For example, users of this compiler can expect to use the familiar -O2 flags to tune GCC’s optimizer. Going forward, we will be happy to see more LLVM vs GCC graphs in respect to compilation speed, resulting code size and performance.
The project is still in an early phase with the goal to compile the offical Rust test suite. There are no immediate plans for a borrow checker as this is not required to compile rust code and is the last pass in the RustC compiler. This can be handled as a separate project when we get to that point.
For frequently asked questions please see: https://github.com/Rust-GCC/gccrs/wiki/Frequently-Asked-Questions
We appreciate all feedback from individuals on github.
As this is destined to be upstreamed to GCC we require copyright assignment: https://gcc.gnu.org/contribute.html. Not all contributions must be code, please try it out and feed us bugs.