3 ms·
It's kind of a moot point, because MIR never leaves its in-memory representation in normal compilation. (However, that may well change with future improvements
by pcwalton 11y ago
It's kind of a moot point, because MIR never leaves its in-memory representation in normal compilation. (However, that may well change with future improvements to incremental compilation, though the on-disk format will likely never be formally defined and stabilized--it's too much work for little gain.)
Surface syntax of the compiler IR isn't particularly important anyway.
- eddyb 11y agoWell, actually, we store MIR in crate metadata. However, it's not a special serialization format, just the rustc_serialize infrastructure, i.e. you could also serialize MIR to JSON if you really wanted to.