# rust-lang/rustc_codegen_cranelift

Cranelift based backend for rustc

Repository: https://github.com/rust-lang/rustc_codegen_cranelift
Canonical: https://ross.abutalabs.com/products/rustc_codegen_cranelift
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, compiler, cranelift, jit, aot
Last push: 2026-08-24T15:53:59+00:00

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

## Adoption (not part of the score)
Stars 2129, forks 153 (observed 2026-08-28T04:06:17.051048+00:00)

## What it is
An alternative codegen backend for the Rust compiler (rustc) built on the Cranelift code generator. It aims to significantly speed up debug-mode compilation for Rust projects, distributed as a nightly rustup component.

## Use cases
- speed up debug builds of rust projects
- faster rust compile times in development
- use cranelift as rustc backend
- jit compile rust code
- try alternative rust compiler backend

## When to choose
- you want faster debug-mode compile times and your code uses only supported rustc features
- you're on Linux, macOS, or x86_64 Windows with nightly Rust

## When to avoid
- you need full rustc feature coverage or unsupported targets
- you need optimized release builds - LLVM remains the production backend

## Facets
- artifact type: library
- maturity: active
- function: compiler, developer-tools
- domain: compilers, programming-languages, developer-tools, performance
- platform: windows, rust, cli
- tags: cranelift, rustc, codegen-backend, jit, aot, compilation-speed, linux, macos

## Member repositories
- rust-lang/rustc_codegen_cranelift (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:17.051048+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-30T02:52:25.806535+00:00, confidence not recorded.
  - readme: https://github.com/rust-lang/rustc_codegen_cranelift (fetched 2026-08-28T04:06:17.051048+00:00, sha a38a137de45c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
