this post was submitted on 02 Jul 2026
47 points (100.0% liked)

Rust

8120 readers
10 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
top 5 comments
sorted by: hot top controversial new old

Very nice read, the code examples were very clear :)

[–] FizzyOrange@programming.dev 8 points 5 days ago (1 children)

Wow that's pretty crazy. I guess this bug was only in nightly?

Also I want to know more about this guy's crazy build system.

[–] blackjacksepp@feddit.org 9 points 5 days ago (2 children)

Nope, the bug was present in multiple stable versions. From the Github issue comments:

I can reproduce the bug on 1.94, 1.95, 1.96 and nightly. (1.93 seems to be the latest version without the bug present)

[–] nialv7@lemmy.world 3 points 5 days ago

that's a pretty big fuckup, no? also does MIR not check for variable not being initialized?

[–] FizzyOrange@programming.dev 2 points 5 days ago

Wow. I wonder why nobody saw this before then? Op's code doesn't look unusual.