Hacker News new | ask | show | jobs
by pum-purum 2674 days ago
Compile time. For my 9k lines project it takes 20 sec to compile in debug mode and 1 minute in release. Wich is insane because I have to do a lot of runs to test things(where cargo check can't help).
1 comments

In spite of this i'm in love with Rust
If you modify a single line and rebuild, how much time does it takes, on average ?
I tried to change some constants in random places(in 1 line each time) and on average it's ~10 seconds Also compilation unit in rust is a crate. I guess if your app can be separated in different crates it can ease the pain.
cargo check is 3.11s