36
you are viewing a single comment's thread
view the rest of the comments
[-] orclev@lemmy.world 2 points 2 days ago

It's a good article and I agree, poisoning is a niche use case and shouldn't be the default. That said it should document explicitly that it doesn't handle panics in the critical section and that if you need that you should use a variant that does support poisoning. Basically the opposite of the situation as it currently exists where the default is poison with a note saying if you don't need it use the non-poisoning (nightly only) version.

this post was submitted on 18 Nov 2026
36 points (100.0% liked)

Rust

8379 readers
30 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