3 ms·
If not the borrower-checker or the code-generator, what's the slow part of Rust compilation? The front-end?
by MaxBarraclough 6y ago
If not the borrower-checker or the code-generator, what's the slow part of Rust compilation? The front-end?
- trait 6y agoThe slowest part is code-gen indeed, that's why cargo-check[0] is really fast. [0]https://doc.rust-lang.org/cargo/commands/cargo-check.html https://doc.rust-lang.org/cargo/commands/cargo-check.html
- zozbot234 6y agoTypically the bottleneck is monomorphizing generic code. Also evaluating macros (if they're being used).