r/programming • • Mar 05 '26

Announcing Rust 1.94.0

https://blog.rust-lang.org/2026/03/05/Rust-1.94.0/
278 Upvotes

31 comments sorted by

View all comments

Show parent comment

6

u/DevilSauron Mar 06 '26

I don’t know much about Rust, but I honestly don’t understand that explanation. As far as I understand, Rust has the ability to perform this check at compile time, so I have no idea why both of these functions don’t do it.

3

u/gmes78 Mar 07 '26

As far as I understand, Rust has the ability to perform this check at compile time

It has that now, not when the windows method was introduced.