MIR optimisations in checking

When I compile the code with “-Z no-trans” to just verify the types and perform the borrow checking, I have seen with “-Ztime-passes” that it also performs:

time: 0.127; rss: 177MB MIR optimisations

Is it possible and a good idea for “-Z no-trans” to remove this part too?

Please open an issue on rust-lang/rust about it.

https://github.com/rust-lang/rust/issues/41423

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.