News for hackers. Stuff that matters.
Re:Why is my Rust build so slow? by ogoffart on Friday December 31, 2021 @10:09AM (#29748673)
The worst error message was basically no error message. After I made some big refactoring to my project, cargo would just exit with:

   error: could not compile `the_project`.
And nothing else. No hint of what the problem is.

It then took me a long time to try to comment out code here and there to find out what was causing the error.

When I finally found out the problem, I took the time to fill a bug report. I don't know if anyone looked at it. https://github.com/rust-lang/rust/issues/73026

Re:Why is my Rust build so slow? by estebank on Friday December 31, 2021 @10:18AM (#29748764)
Thank you for the great report. It indeed seems to have fallen through the cracks, with no one touching it (it's missing the T-compiler tag, which means I didn't triage it) since it was first cathegorized.

I wouldn't call that lack of output representative of the experience of using rustc though, if I'm allowed to let my pride on my work flare up a bit.

Re:Why is my Rust build so slow? by ogoffart on Friday December 31, 2021 @10:41AM (#29749001)
Sorry, I did not mean to say that this was representative of the overall experience. On the contrary, I'm usually quite satisfied with the compiler messages. Thanks for your work!
Re:Why is my Rust build so slow? by estebank on Friday December 31, 2021 @10:47AM (#29749075)
Thank you! The "bad" thing about having high standards is that when it isn't met it is quite jarring, more so than if it were homogeneously bad or meh, and that ends up bring more frustrating.