3 ms·
More tips for improving compilation times: https://endler.dev/2020/rust-compile-times/ https://endler.dev/2020/rust-compile-times/ Personally, dynamically link
by cropcirclbureau 5y ago
More tips for improving compilation times: https://endler.dev/2020/rust-compile-times/ https://endler.dev/2020/rust-compile-times/
Personally, dynamically linking dependencies and using the `mold` linker has given me the most bang for my bucks. You can't dynamically compile all crates (actix_web, sqlx) unfortunately due to some assumptions macros make about crate paths (using Bevy scheme). And this exclusion extends to all crates pulled in as [dev-dependencies].