Settings

Theme

Rust 1.57

blog.rust-lang.org

57 points by bilalhusain 4 years ago · 9 comments

Reader

nitsky 4 years ago

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

Shadonototra 4 years ago

> [profile.production]

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

zig is doing it right with build.zig

  • vlang1dot0 4 years ago

    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.

    • Shadonototra 4 years ago

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

      • pkolaczk 4 years ago

        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.

8K832d7tNmiQ 4 years ago

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

crispyalmond 4 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection