3 ms·
> I have always found that they are almost instant for incremental builds (assuming you use lld or mold) They are not almost instant once your project grows to
by School-Cotton 3y ago
> I have always found that they are almost instant for incremental builds (assuming you use lld or mold)
They are not almost instant once your project grows to a certain size, which is still well within the bounds of a realistic single company’s project (I work on Materialize which is all in rust).
- zamalek 3y agoAnd you have it set up with multiple compile units, shared generics, and lld (or mold ideally)?
- School-Cotton 3y ago> multiple compile units Yes > shared generics I don't know what that is. Some googling suggests that it's a nightly-only feature, whereas we use the stable compiler. If it's something that can be done in stable, I'd appreciate a pointer. > lld (or mold ideally) $ echo $RUSTFLAGS -C link-arg=-fuse-ld=lld -C debuginfo=0