57
Announcing Rust 1.95.0 (blog.rust-lang.org)
submitted 4 months ago by nemeski@mander.xyz to c/rust@programming.dev
top 2 comments
sorted by: hot top new old
[-] Ephera@lemmy.ml 5 points 4 months ago

cfg_select! looks good. cfg_if! always added so much boilerplate that it rarely reduced complexity, even though it offered a valid solution for when you had a complex condition in one branch and then not() that in the other. It was also annoying that you had to add a dependency for those rare cases.

We did also move away from cfg_if!, though, because IDE tooling would mostly just quit working within the cfg_if! macro call. Will have to see, if that's better with this compiler built-in, or if the IDE tooling gets updated to support that well.

[-] flying_sheep@lemmy.ml 2 points 4 months ago

This one is so much bigger than recent releases, exciting!

this post was submitted on 17 Apr 2026
57 points (98.3% liked)

Rust

8248 readers
18 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS