Rust For Linux 7.3 Begins Seeing Fixes To Prepare For Rust's GCC Backend

Written by Michael Larabel in Linux Kernel on 18 August 2026 at 09:21 AM EDT. 11 Comments
LINUX KERNEL
In addition to the POWER/PowerPC code adding Rust kernel support, the main set of Rust programming language updates for the Linux 7.3 kernel have now been submitted. Most notable are early fixes toward eventually allowing the experimental Rust GCC back-end to be used as an alternative to the official rustc compiler with LLVM code generation.

In addition to "a bunch of fixes" in general for the Rust Linux kernel code, the Linux 7.3 pull also includes the initial round of fixes for using Rust's GCC "rustc_codegen_gcc" back-end. That Rust GCC work remains ongoing and still very experimental but at least fixes to the Linux kernel are beginning to land in preparing for that eventual stage of supporting the GCC back-end for being able to compile the Rust kernel code. This includes various build error fixes such as due to ambiguity over the rustc-dev component.

The motivation of the development is using GCC code generation by rustc for architectures not supported by LLVM but are supported by GCC. There are a number of CPU architectures supported by the Linux kernel and GCC but not supported by LLVM like m68k, Alpha, and other embedded/micro-controller ISAs.. This also allows employing GCC's compiler optimizations. The latest rustc_codegen_gcc code can be found via rustc_codegen_gcc on GitHub. This isn't to be confused with gccrs as the GCC front-end for Rust.

GCC Rust graphic


The Rust updates for this next kernel version also include other toolchain and infrastructure updates like fixing future Clang warnings. Plus updates to the various Rust modules used within the kernel. The full list of Rust changes for Linux 7.3 can be found via this pull request.
Related News
About The Author

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week