💾 Archived View for dioskouroi.xyz › thread › 29416915 captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

🚧 View Differences

-=-=-=-=-=-=-

Rust 1.57

Author: bilalhusain

Score: 57

Comments: 9

Date: 2021-12-02 14:58:07

Web Link

________________________________________________________________________________

nitsky wrote at 2021-12-02 16:19:27:

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

Shadonototra wrote at 2021-12-02 20:52:33:

[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 wrote at 2021-12-02 21:56:03:

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 wrote at 2021-12-03 17:49:20:

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

pkolaczk wrote at 2021-12-04 12:48:07:

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.

Shadonototra wrote at 2021-12-04 15:33:37:

that's a very good and solid point!

8K832d7tNmiQ wrote at 2021-12-02 19:22:43:

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

crispyalmond wrote at 2021-12-02 18:32:37:

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

zibzab wrote at 2021-12-02 19:50:38:

Yeah, what Rust needs right now is stability