# Rust-GCC/gccrs

GCC Front-End for Rust

Repository: https://github.com/Rust-GCC/gccrs
Canonical: https://ross.abutalabs.com/products/gccrs
Homepage: https://rust-gcc.github.io/
Language: C++
License: GPL-2.0
License Family: copyleft
Topics: gcc, gcc-rust, rust, rust-lang, compiler, hacktoberfest
Last push: 2026-08-26T12:02:56+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4703, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2933, forks 231 (observed 2026-08-28T04:07:30.764956+00:00)

## What it is
gccrs is a GCC front-end implementing the Rust language, aiming to be fully upstreamed into the GNU toolchain as an alternative to rustc/LLVM. It is in a very early stage and cannot yet compile real Rust programs, with borrow checking planned via the polonius effort.

## Use cases
- compile rust programs with gcc instead of llvm
- alternative rust compiler front-end for gcc
- use gcc optimization passes on rust code
- contribute to a rust compiler implementation
- compare gcc vs llvm codegen for rust
- port rust to platforms supported by gcc

## When to choose
- you want to experiment with or contribute to an alternative Rust compiler
- you need GCC's middle-end optimizations or target support for Rust
- you're researching compiler front-end design in GCC

## When to avoid
- you need to build real Rust projects today - use rustc instead
- you need borrow checking and full language compliance
- you want a stable, production-ready toolchain

## Facets
- artifact type: cli-tool
- maturity: experimental
- function: compiler, programming-language, developer-tools
- domain: compilers, programming-languages, developer-tools
- platform: cross-platform, cli
- tags: gcc, rust, compiler-front-end, gnu-toolchain, alternative-compiler, linux

## Member repositories
- Rust-GCC/gccrs (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:30.764956+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:13:00.655681+00:00, confidence not recorded.
  - readme: https://github.com/Rust-GCC/gccrs (fetched 2026-08-28T04:07:30.764956+00:00, sha 4080915e65e7)
  - homepage: https://rust-gcc.github.io/ (fetched 2026-08-29T09:48:29.714118+00:00, sha 67ab8a9bd839)
- Data as of 2026-08-30T08:39:29.467469+00:00.
