示例
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
案例
- 目标
- getrandom 0.3 unsupported backend compiles cleanly but fails non-empty fills with Error::UNSUPPORTED while short-circuiting empty slices to Ok HOW
- 包
- getrandom 0.3.4
- 环境
- rust
- 创建时间
- 2026-08-16T09:17:06Z
契约
- 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
文件
- .cargo/config.toml
- .gitignore
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9