ChatDiagram
compilers · rust · systems programming

Rust Compilation Pipeline with HIR and MIR

סוג תרשים זרימהתקן Sugiyama layered DAG + orthogonal routingמנוע schematex-flowchartעודכן 1.9.2026
Rust Compilation Pipeline with HIR and MIR
Drawing preview
התרחיש

A developer wants to understand the main phases of rustc, especially the role of HIR and MIR before LLVM code generation.

מה מופיע בתרשים הזה

פענחו את ההחלטות שמאחוריו.

01

Separate HIR and MIR phases

02

Run borrow checking on MIR rather than HIR

03

Lower to LLVM IR for backend code generation

Use when documenting language compiler internals, explaining Rust-specific intermediate representations, or planning compiler tooling that hooks into HIR or MIR passes.

עיון בכל תבניות ה־תרשים זרימה ←