3 ms·
Incremental compilation is already even more fine-grained than by file- it is based on rustc's internal query system. There is room to improve parallelization,
by Rusky 4y ago
Incremental compilation is already even more fine-grained than by file- it is based on rustc's internal query system.
There is room to improve parallelization, though. Cargo will parallelize invocations of rustc (by crate) and rustc will parallelize backend code generation (functions in a crate are load balanced automatically) but the frontend is still not parallel.