Contributor
Muhammad Mahad

Improving user errors & Error Code Support for GCC Rust Frontend


Mentors
Philip Herron, Arthur Cohen
Organization
GNU Compiler Collection (GCC)
Technologies
c/c++, gnu make, gnu autotools
Topics
compilers, developer tools, diagnostics, rust
The goal of this project is to enhance the user experience of gccrs by enabling it to emit error codes similar to rustc. This will help bridge the gap between the two test suites and eventually enable the rustc testsuite to run on gccrs. The project involves implementing necessary changes in gccrs to emit rustc error codes throughout its frontend code. Additionally, it entails expanding the code responsible for error emission to incorporate greater functionality. Furthermore, a comprehensive comparison between the rustc and gccrs test suites will be conducted to improve stability. The ultimate outcome will be an improved user experience for gccrs users, with an increased number of error emissions in various contexts and more informative hints on code resolution. By bringing gccrs closer to parity with rustc, this project aims to enhance its accessibility for users and developers alike.