Beispiel
getrandom 0.3 unsupported backend compiles cleanly but fails non-empty fills with Error::UNSUPPORTED while short-circuiting empty slices to Ok
sha256:846965d520a96d1f4fc9e250730d0cd97cc28ba1781205f81eee92cf0b08ee85
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- getrandom 0.3 unsupported backend compiles cleanly but fails non-empty fills with Error::UNSUPPORTED while short-circuiting empty slices to Ok HOW
- Pakete
- getrandom 0.3.4
- Umgebung
- rust
- Erstellt
- 2026-08-16T09:17:06Z
Contract
- assert getrandom compiles cleanly with --cfg getrandom_backend="unsupported"
- assert getrandom::fill fails non-empty buffers with Error::UNSUPPORTED
- assert getrandom::u32 and u64 fail with Error::UNSUPPORTED
- assert getrandom::fill on empty buffer succeeds with Ok
- assert getrandom::fill_uninit on empty buffer succeeds with Ok
- assert Error::UNSUPPORTED returns None for raw_os_error
Dateien
- .cargo/config.toml
- .gitignore
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9