Re:Why is my Rust build so slow?
by Narretz on Friday December 31, 2021 @07:56AM
(#29747587)
The two biggest time savings where accomplished by using a version without the regression bug, and using incremental builds in debug mode for local dev. Bugs can be introduced in any language, so the only gotcha to be fixed is that maybe incremental compile should be the default.
[ Parent
| on HN ]
Re:Why is my Rust build so slow?
by swiftcoder on Friday December 31, 2021 @10:30AM
(#29748882)
Note that incremental builds are the default for debug builds.
For reasons that are not entirely elaborated in the article, the author is using release builds for local development.
In some verticals the only way to properly exercise and test the resulting binary is in release mode. Think things like DBs, game engines, etc. It's why good debug information in release is needed.