Just to clarify,
Roc code -> Mono IR -> LLVM IR -> Assembly
The first two steps are performed by Rust, and the third by LLVM. Between the second and third steps, the Zig files are compiled into LLVM IR and added.
Correct?
Correct. We compile Zig to LLVM ahead of time, but your mental model is correct
Last updated: Jul 05 2025 at 12:14 UTC