Skip to main content
Run any Skill in Manus
with one click

rustc-driver-frontend

Stars3
Forks0
UpdatedApril 27, 2026 at 17:09

Use this skill when building an alternate Rust compiler frontend, analyzer, or tool that needs to consume dependency metadata (types, traits, impls, MIR) from Rust crates without decoding rlibs by hand. Covers the rustc_driver custom-driver pattern, hooking rustc_interface callbacks, extracting TyCtxt data for foreign crates, and architectural choices around Salsa interning vs arena storage for solver types. Use whenever the user is designing a Rust compiler, type checker, verifier, or analysis tool that needs rustc's view of dependencies — especially if they mention rlibs, rmeta, cargo workspaces, the next trait solver, rustc_public, stable_mir, rustc_type_ir, or consuming Rust crate metadata. Do NOT use this skill for writing plain rustc plugins like Clippy lints (standard rustc_driver custom-driver docs suffice) or for rust-analyzer contributions (rust-analyzer has its own architecture docs).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly