Hacker News new | past | comments | ask | show | jobs | submit login
Rust 1.57 (rust-lang.org)
57 points by bilalhusain on Dec 2, 2021 | hide | past | favorite | 9 comments



Hooray, custom profiles are now stable! This helps avoid rebuilds when toggling LTO and changing optimization levels.


> [profile.production]

proof that using a config file was a poor idea for the long run

zig is doing it right with build.zig


I don't see how that follows. Declarative build configuration is very good and Rust needs to lean harder in that direction and minimize the use of build.rs.


build.rs is the way to go, configuration withing configuration files is the root for evils like XML scripting in msbuild


The best way is to keep scripting out of build files. Build recipes must be simple, boring, reliable, and same everywhere.

Gradle and SBT allow unlimited scripting and builds often end up as an unreliable mess. The more cleverness they put into the build definition, the more frustrating it is to use in practice.


that's a very good and solid point!


What's the status for custom final binary directory output `--out-dir` and why would it take so long to finalise it?


What a boring release. I don't mean this as an insult, I think this is great.


Yeah, what Rust needs right now is stability




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: