diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-02 11:24:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-02 11:24:22 +0200 |
| commit | ce1961bbfcc71818484d340ea4924f28417657e8 (patch) | |
| tree | 5aadff984a3ff227c9794f4f0f4aac3bd1c852da /compiler/rustc_const_eval/src/interpret/call.rs | |
| parent | 96b3b83299da636fdc14757dc7970e40342f5798 (diff) | |
| parent | c1d06cccaed537c799838dc5338dda28bbace52b (diff) | |
| download | rust-ce1961bbfcc71818484d340ea4924f28417657e8.tar.gz rust-ce1961bbfcc71818484d340ea4924f28417657e8.zip | |
Rollup merge of #144185 - purplesyringa:poisoning-wording, r=Amanieu
Document guarantees of poisoning This mostly documents the current behavior of `Mutex` and `RwLock` (rust-lang/rust#143471) as imperfect. It's unlikely that the situation improves significantly in the future, and even if it does, the rules will probably be more complicated than "poisoning is completely reliable", so this is a conservative guarantee. We also explicitly specify that `OnceLock` never poisons, even though it has an API similar to mutexes. Fixes rust-lang/rust#143471 by improving documentation. r? ``@Amanieu``
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/call.rs')
0 files changed, 0 insertions, 0 deletions
