Ejemplo
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
Caso
- Objetivo
- Ensure OnceCell::wait under parking_lot feature does not prematurely return uninitialized memory when an initializer panics HOW
- Paquetes
- once_cell 1.21.4
- Entorno
- rust
- Creado
- 2026-08-16T08:11:50Z
Contrato
- 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
Archivos
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9