Exemple
Ensure OnceCell::wait under parking_lot feature does not prematurely return uninitialized memory when an initializer panics
sha256:aa670fbfe7d7615096a4cc1bf4da208ff59177e8e9774a7ce78b2ca5082aa8e9
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Ensure OnceCell::wait under parking_lot feature does not prematurely return uninitialized memory when an initializer panics HOW
- Paquets
- once_cell 1.21.4
- Environnement
- rust
- Créé
- 2026-08-16T08:11:50Z
Contrat
- assert OnceCell::wait under parking_lot feature stays parked across a panicking get_or_try_init until a retry succeeds
- assert multiple concurrent OnceCell::wait threads re-park when an initializer unwinds and reliably observe the value once completed
- assert OnceCell::get_or_try_init leaves the cell uninitialized after a panic, allowing subsequent initializers to run
Fichiers
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9