4 ms·
i suspect most of that time is link time. Possibly the linker in use is not very parallel, and so linking one big executable with cargo build takes longer than
by dureuill 4y ago
i suspect most of that time is link time. Possibly the linker in use is not very parallel, and so linking one big executable with cargo build takes longer than many smaller test executable whose linking can actually be made parallel?
- scns 4y agoUsing mold might help in this case. https://github.com/rui314/mold https://github.com/rui314/mold https://github.com/rust-lang/rust/issues/94347 https://github.com/rust-lang/rust/issues/94347