logoalt Hacker News

yhjc2692 • today at 3:05 PM • 3 replies • view on HN

Smaller target directory size would be such a lifesaver. Hoping the best for you, and Rust!


Replies

stymaar • today at 4:58 PM

This!

There's a recurring meme here and in other social media about rust being slow to compile, but anyone who's worked with Rust know that target dirs are a much more annoying papercut in practice than the relative speed of the compiler (which isn't appreciably worse than any other toolchain out there for the most common workflows).

➕ show 4 replies
thomashabets2 • today at 3:09 PM

It would help, yes. Here's one of my projects, that uses different subdirectories in target/ based on compiler options pre-commit runs:

    $ du -hcs target/
    190G    target/
➕ show 1 reply
MBCook • today at 5:25 PM

Could you e plain the issue for a non-rustacean?

➕ show 1 reply