Skip to content

docs/checks.md: the last 1,000 rustc bugs and the checks that would have caught them - #28

Merged
zmaril merged 1 commit into
mirth/blocksfrom
mirth/checks
Oct 10, 2026
Merged

zmaril merged 1 commit into
mirth/blocksfrom
mirth/checks

Conversation

@zmaril

@zmaril zmaril commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Stacked on the block coverage PR (mirth/blocks).

The 1,000 most recent C-bug issues on rust-lang/rust (2026-05-08 to 2026-10-09). For each one: its kind, whether it reproduces on a Linux host, the general property it violates, an automatic check (oracle) for that property, and the inputs needed to reach it. The per-issue table is docs/checks/issues.jsonl.

Main points

  • mirth would have caught 321 of them, given an input that reaches the bug; almost all of those are crashes.
  • Crashes (334): the inputs are what's missing. 144 need a nightly feature (generic_const_args alone accounts for 62), up to 73 need the new solver, and 19 need a debug-assertions compiler.
  • The checks to add are ranked by how many of the 1,000 they would have caught: equivalent rewrites 63, release-to-release 63, Miri 52, optimization differential 45, cross-target link 41, and others.
  • A suggested build order.

The issues were classified by Claude Haiku agents (bodies read in part) and sampled for accuracy; the counts are good for ranking, not exact.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT

… and the check that would have caught it, ranked

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT
@zmaril
zmaril added this pull request to stack #32 October 10, 2026 08:50
@zmaril
zmaril merged commit 76ab15f into main Oct 10, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant