Skip to content
CAI
Software that uses CAICheck a score

rust-lang/rust

53.5

Adequate · 27 September 2026

2257.2k

lines of production code

Rust

primary language

3

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 54.

Lenses

  • Code Health 47
  • Architecture 68
  • Maturity 76
  • Readiness 57
  • Security 53
  • Domain Modelling 90
  • Event Sourcing 100
  • Accessibility 63

Changes since last survey

  • 300 commits — 265 feature/other, 35 fixes

By area

  • (repo) — 139 commits
  • tests/ui — 30 commits
  • compiler/rustc_borrowck — 19 commits
  • compiler/rustc_builtin_macros — 10 commits
  • src/tools — 10 commits
  • library/core — 8 commits
  • tests/codegen-llvm — 6 commits
  • compiler/rustc_lint — 5 commits
  • compiler/rustc_resolve — 5 commits
  • library/alloc — 5 commits
  • library/std — 5 commits
  • compiler/rustc_codegen_llvm — 4 commits
  • compiler/rustc_errors — 4 commits
  • compiler/rustc_middle — 4 commits
  • compiler/rustc_next_trait_solver — 4 commits
  • src/librustdoc — 4 commits
  • compiler/rustc_ast_lowering — 3 commits
  • compiler/rustc_passes — 3 commits
  • src/bootstrap — 3 commits
  • tests/rustdoc-html — 3 commits

Notable commits

  • fix: Add regression test for trait predicate with escaping bounds
  • fix: Add regression tests for Option predicate suggestion precedence
  • fix: Add regression tests for await macro suggestions
  • fix: Auto merge of #154724 - Daniel-B-Smith:smithdb3/fix-94878, r=oli-obk
  • fix: Checking that an empty BTreeMap drop compiles down to only a ret void, and that function only match drop_btree exactly. As the previous dealloc also passed on old code so didn't catch the regression
  • fix: Fix applicability level for cfg suggestion
  • fix: Fix bignum build on 16-bit targets
  • fix: Fix incorrect use of await in parser suggestion
  • fix: Fix invalid jump to def link when #[rustc_allow_incoherent_impl] is involved
  • fix: Fix provisional cache cleanup after trait evaluation failure
  • fix: Fix suggestion for Option to bool with proper precedence handling
  • fix: Fix test
  • fix: Revert "remove no-longer-needed MaybeDangling from thread spawning"
  • fix: Rollup merge of #157562 - sjwang05:fix-138660-enum-discr-layout, r=Kivooeo
  • fix: Rollup merge of #159564 - zachs18:fix-159358, r=clarfonthey
  • fix: Rollup merge of #160068 - qaijuang:fix-asm-register-alias-diagnostic, r=Amanieu
  • fix: Rollup merge of #161791 - jakedrew:fix/Making_and_dropping_an_empty_BTreeMap_is_not_free_161375, r=clarfonthey
  • fix: Rollup merge of #162340 - fmease:fix-for-dyn-recovery, r=davidtwco
  • fix: Rollup merge of #162498 - TaKO8Ki:fix/parser-arg-recovery-ice, r=fee1-dead
  • fix: Rollup merge of #162702 - malezjaa:regression-test-for-unconstrained-const-args, r=BoxyUwU
  • …and 280 more

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

rust-lang/rust was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 27 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 75a75c3e0a67d3fa3d03982775f5bb0356e7b510 — the exact code this score is about.
  • Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-7c1cb6328e11.