rust-lang/rustc_codegen_gcc
libgccjit AOT codegen for rustc observed · 2026-09-01
Health v2 · maintenance only
77/100
- Activity 100
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2192
- days_rel: n/a
- days_push: 4
- n_releases_24m: 0
Adoption not part of the score
1160 stars · 103 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A GCC-based codegen backend for rustc that uses libgccjit for ahead-of-time compilation of Rust code. It allows compiling Rust on platforms unsupported by LLVM and leverages GCC's optimizations and architecture support.
Use cases
- compile rust code on platforms not supported by llvm
- use gcc optimizations for rust compilation
- test gcc patches with a rust backend
- port rust to new cpu architectures
- compare gcc vs llvm codegen performance for rust
When to choose
- you need to build Rust for a target architecture LLVM does not support
- you want to experiment with GCC's optimization pipeline on Rust code
- you are developing or testing GCC patches for Rust support
When to avoid
- you need a production-ready, fully stable Rust toolchain
- you rely on LLVM-specific tooling or diagnostics
- you want zero setup - it requires a patched libgccjit fork
Facets
library · maturity experimental
compiler build-tool developer-tools compilers programming-languages developer-tools rust cpp cross-platform rustc-backend gcc libgccjit codegen llvm-alternative linux
1 source
- readme: https://github.com/rust-lang/rustc_codegen_gcc · fetched 2026-09-01 · d239f2708ead
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rust-lang/rustc_codegen_gcc | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="rust-lang/rustc_codegen_gcc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem