GCC Front-End For Rust

Alternative Rust Compiler for GCC

View the Project on GitHub

December 2025 Monthly report

Overview

Thanks again to Open Source Security, inc and Embecosm for their ongoing support for this project.

2026 Introduction

Hi everyone! Welcome to our first monthly report of the year 2026! As our work starts again after the winter holidays, we wanted to take some time to outline what is shaping up to be a pretty significant year for gccrs, in a more candid way than the usual tone of these reports. The goal of this is for people interested in our project to know what to expect, how to support us, and what the project will focus on moving forward.

We have recently been mentioned in LWN’s “Predictions for the new year” article, which sparked some encouraging and supportive comments that we really enjoyed reading. The specific quote of the article is as follows:

“The gccrs project will deliver a working Rust compiler”

Wow! That’s not a lot of pressure at all!

But Jonathan is right - the goal is for gccrs to be able to compile the Rust parts of the Linux kernel in 2026. Preferably, before RustConf and EuroRust, so that we can make some noise about it. Now, that does not mean that you will be able to use a Linux kernel with the Rust parts compiled by gccrs (we do hope you try and report all of the interesting issues though). gccrs will still be experimental, and even though it should be able to compile the kernel, that does not mean the executable produced will be able to run correctly. For 2026, our goal is for gccrs to be able to mis-compile the kernel. There are things that we do not plan for gccrs to handle just yet, which may incur incorrect behavior in the produced binaries - which is to be expected from an experimental compiler.

Thus begins a nine months long marathon to get the kernel compiling :)

This time will also be a great opportunity to get in touch with more people on the kernel and Rust side to make sure that gccrs fits in in all the ways that is expected of the project.

Regarding the upcoming GCC 16.1 release: while we are working towards getting the kernel working by the time it comes out, this might not happen. For people willing to experiment with compiling their kernel using gccrs, you will have to compile the project from scratch. We hope to get enough in GCC 16.1 so that gccrs is able to compile core, and can thus be used in embedded environments for #![no_std] Rust code.

We hope you understand that playing catch up like this takes a long time, and that some problems only show up when compiling actual projects - not simple test cases. While we do have the advantage of knowing what is supposed to work, we run into different problems than if we were just trying to design our own programming language from scratch. Knowing how core works, what compiler tricks are required, how the crate is implemented, is not innate, and while the team is getting pretty good at it, we still have some work to do.

Thank you once again for your continued support and involvment. 2025 was a very fun year for the project, and 2026 seems to be headed in the same direction, with even more interesting problems to fix.

Project update

For the last month of 2025, we have once again made good progress on our name resolution algorithm in the hopes of getting core further along our compilation pipeline. We have not necessarily focused on the kernel itself this month, as most of the team was away on vacation for half of the month. The entire early name resolution and macro expansion fixed-point is now complete for core, which is a massive milestone for the project - it is actually the reason why we decided to rewrite name resolution from scratch a couple of years ago. We are now able to handle all of the complex imports and exports in core, coupled with the extensive amount of macros used for various primitive implementations. This leads us to the second half of the problem, late name resolution, which is currently still not finished for core. This holiday season, we have fixed four massive bugs which impacted core as well as complex Rust crates. There are still a few issues with our late name resolution, namely around certain vectorized types and methods not being found, but nothing too drastic or hard to fix.

Other technical improvements include the work done by our two interns, Lenny Chiadmi Delage and Lucas Ly Ba, who have greatly improved various lints in the compiler focused on correctness and safety. January marks our last month with them, and we will greatly miss them and their contributions!

We will continue working on these late name resolution issues for the first few weeks of 2026, and will hopefully be able to quickly switch to our middle-end and backend issues for core - which there shouldn’t be much of. Once name resolution passes, we will be able to split our focus between core and the kernel, figuring out what issues show up once the kernel correctly depends on core. As explained before, the goal is for gccrs to be able to compile core and the kernel before RustConf and EuroRust in September, two conferences where we hope to present the work done on the compiler these last two years.

The CFPs for these conferences is almost open, which means we are also spending some of our time working on our abstracts. We want to maximize our chances of the talks getting accepted, as these two conferences could be the most important talks we’ve ever given for the project!

Finally, our upstreaming is still going strong, as we are sticking to our schedule and uploading commits weekly. We are up to date with the latest GCC, which is also up to date with our development branch.

Community call

We will have our next monthly community call on the 12th of January at 10am UTC. You can subscribe to our calendar to see when the next one will be held. The call is open to everyone, even if you would just like to sit-in and listen. You can also subscribe to our mailing-list or join our Zulip chat to be notified of upcoming events.

Call for contribution

Completed Activities

Contributors this month

Overall Task Status

Category Last Month This Month Delta
TODO 419 409 -10
In Progress 116 118 +2
Completed 1184 1194 +10

Bugs

Category Last Month This Month Delta
TODO 198 194 -4
In Progress 55 56 +1
Completed 588 591 +3

Test Cases

TestCases Last Month This Month Delta
Passing 10444 10470 +26
Failed - - -
XFAIL 74 73 -1
XPASS - - -

Milestones Progress

Milestone Last Month This Month Delta Start Date Completion Date Target Target GCC
Rust-for-Linux 12% 12% - 1st Nov 2025 - - GCC 16.1
Full core Late nameres issues 0% 15% +15% 1st Dec 2025 - - GCC 16.1
Full core Early nameres issues 60% 100% +40% 1st Dec 2025 - - GCC 16.1
Full core Typecheck issues 0% 0% - 21st Jan 2026 - - GCC 16.1
Upcoming Milestone Last Month This Month Delta Start Date Completion Date Target Target GCC
Unstable RfL features 0% 0% - 7th Jan 2025 - 1st Aug 2025 GCC 16.1
Generic Associated Types 0% 0% - 15th Mar 2025 - 15th Jun 2025 GCC 16.1
RfL const generics 0% 0% - 1st May 2025 - 15th Jun 2025 GCC 16.1
frontend plugin hooks 0% 0% - 15th May 2025 - 7th Jul 2025 GCC 16.1
Handling the testsuite issues 0% 0% - 15th Sep 2024 - 15th Sep 2025 GCC 16.1
main shim 0% 0% - 28th Jul 2025 - 15th Sep 2025 GCC 16.1
Final core attributes 0% 0% -   -   GCC 16.1
Core nightly features 0% 0% -   -   GCC 16.1
Defered inference 0% 0% -   -   GCC 16.1
Fn traits fixes 0% 0% -   -   GCC 16.1
Recursive types 0% 0% -   -   GCC 16.1
Drop 0% 0% -   -   GCC 16.1
Pin, PinInit 0% 0% -   -   GCC 16.1
Past Milestone Last Month This Month Delta Start Date Completion Date Target Target GCC
Data Structures 1 - Core 100% 100% - 30th Nov 2020 27th Jan 2021 29th Jan 2021 GCC 14.1
Control Flow 1 - Core 100% 100% - 28th Jan 2021 10th Feb 2021 26th Feb 2021 GCC 14.1
Data Structures 2 - Generics 100% 100% - 11th Feb 2021 14th May 2021 28th May 2021 GCC 14.1
Data Structures 3 - Traits 100% 100% - 20th May 2021 17th Sep 2021 27th Aug 2021 GCC 14.1
Control Flow 2 - Pattern Matching 100% 100% - 20th Sep 2021 9th Dec 2021 29th Nov 2021 GCC 14.1
Macros and cfg expansion 100% 100% - 1st Dec 2021 31st Mar 2022 28th Mar 2022 GCC 14.1
Imports and Visibility 100% 100% - 29th Mar 2022 13th Jul 2022 27th May 2022 GCC 14.1
Const Generics 100% 100% - 30th May 2022 10th Oct 2022 17th Oct 2022 GCC 14.1
Initial upstream patches 100% 100% - 10th Oct 2022 13th Nov 2022 13th Nov 2022 GCC 14.1
Upstream initial patchset 100% 100% - 13th Nov 2022 13th Dec 2022 19th Dec 2022 GCC 14.1
Update GCC’s master branch 100% 100% - 1st Jan 2023 21st Feb 2023 3rd Mar 2023 GCC 14.1
Final set of upstream patches 100% 100% - 16th Nov 2022 1st May 2023 30th Apr 2023 GCC 14.1
Borrow Checking 1 100% 100% - TBD 8th Jan 2024 15th Aug 2023 GCC 14.1
Procedural Macros 1 100% 100% - 13th Apr 2023 6th Aug 2023 6th Aug 2023 GCC 14.1
GCC 13.2 Release 100% 100% - 13th Apr 2023 22nd Jul 2023 15th Jul 2023 GCC 14.1
GCC 14 Stage 3 100% 100% - 1st Sep 2023 20th Sep 2023 1st Nov 2023 GCC 14.1
GCC 14.1 Release 100% 100% - 2nd Jan 2024 2nd Jun 2024 15th Apr 2024 GCC 14.1
formatargs!() support 100% 100% - 15th Feb 2024 - 1st Apr 2024 GCC 14.1
GCC 14.2 100% 100% - 7th Jun 2024 15th Jun 2024 15th Jun 2024 GCC 14.2
GCC 15.1 100% 100% - 21st Jun 2024 31st Jun 2024 1st Jul 2024 GCC 15.1
Unhandled attributes 100% 100% - 1st Jul 2024 15th Aug 2024 15th Aug 2024 GCC 15.1
Inline assembly 100% 100% - 1st Jun 2024 26th Aug 2024 15th Sep 2024 GCC 15.1
Rustc Testsuite Adaptor 100% 100% - 1st Jun 2024 26th Aug 2024 15th Sep 2024 GCC 15.1
Borrow checker improvements 100% 100% - 1st Jun 2024 26th Aug 2024 15th Sep 2024 GCC 15.1
Deref and DerefMut improvements 100% 100% - 28th Sep 2024 25th Oct 2024 28th Dec 2024 GCC 15.1
Indexing fixes 100% 100% - 21st Jul 2024 25th Dec 2024 15th Nov 2024 GCC 15.1
Iterator fixes 100% 100% - 21st Jul 2024 25th Dec 2024 15th Nov 2024 GCC 15.1
Auto traits improvements 100% 100% - 15th Sep 2024 20th Jan 2025 21st Dec 2024 GCC 15.1
Lang items 100% 100% - 1st Jul 2024 10th Jan 2025 21st Nov 2024 GCC 15.1
alloc parser issues 100% 100% - 7th Jan 2025 31st Jun 2024 28th Jan 2025 GCC 15.1
std parser issues 100% 100% - 7th Jan 2025 31st Jun 2024 28th Jan 2025 GCC 16.1
Question mark operator 100% 100% - 15th Dec 2024 21st Feb 2025 21st Feb 2025 GCC 15.1
Name resolution 2.0 rework 100% 100% - 1st Jun 2024 - 1st Apr 2025 GCC 15.1
Macro expansion 100% 100% - 1st Jun 2024 - 1st Jan 2025 GCC 15.1
Remaining typecheck issues 100% 100% - 21st Oct 2024 - 1st Mar 2025 GCC 15.1
cfg-core 100% 100% - 1st Dec 2024 24th Mar 2025 1st Mar 2025 GCC 15.1
Codegen fixes 100% 100% - 7th Oct 2024 1st Apr 2025 1st Mar 2025 GCC 15.1
blackbox intrinsic 100% 100% - 28th Oct 2024 - 28th Jan 2025 GCC 15.1
let-else 100% 100% - 28th Jan 2025 - 28th Feb 2025 GCC 15.1
Specialization 100% 100% - 1st Jan 2025 1st Apr 2025 1st Mar 2025 GCC 15.1
cfg-rfl 100% 100% - 7th Jan 2025 19th Mar 2025 15th Feb 2025 GCC 15.1
Downgrade to Rust 1.49 100% 100% - 14th Mar 2025 26th Mar 2025 1st Apr 2025 GCC 15.1
try blocks 100% 100% -   30th Jul 2025   GCC 16.1
while-let loops 100% 100% -   30th Jul 2025   GCC 16.1
offsetof!() builtin macro 100% 100% - 15th Mar 2025 4th Aug 2025 15th Aug 2025 GCC 16.1
Explicit generics with impl Trait 100% 100% - 28th Feb 2025 21st Jul 2025 28th Mar 2025 GCC 16.1
Final Inline assembly fixes 100% 100% -   -   GCC 16.1

Planned Activities