Advanced
Rust
Q91 / 100
What is Rust's MIR (Mid-level Intermediate Representation)?
Correct! Well done.
Incorrect.
The correct answer is B) A simplified control-flow graph representation used internally for borrow checking, optimization, and code generation before LLVM IR
B
Correct Answer
A simplified control-flow graph representation used internally for borrow checking, optimization, and code generation before LLVM IR
Explanation
MIR is Rust's internal representation after type checking. The borrow checker runs on MIR. It's also used by Miri, cargo check optimizations, and constant evaluation.
Progress
91/100