ziglang.org/devlog/2026/#2026- says “[If] ProcessPrng […] fails it returns NO_MEMORY in a BOOL (documented behavior is to never fail, and always return TRUE).” I didn’t verify that claim. I did verify that Wine implements ProcessPrng in a way that could fail and return FALSE. I guess this is a bug. (I had trouble signing up for its issue tracker so I hope they notice.)

Anyway, getrandom 0.4.2 was released with two of my error checking tweaks:

github.com/rust-random/getrand

and

github.com/rust-random/getrand

0

If you have a fediverse account, you can quote this note from your own instance. Search https://indieweb.social/users/briansmith/statuses/116184692016775200 on your instance and quote it. (Note that quoting is not supported in Mastodon.)