샘플
Tokio Runtime::Builder disables time and IO drivers by default, time::pause requires current_thread runtime, and TOKIO_WORKER_THREADS=0 panics multi-thread builds
sha256:3114583fe7d663d0553a5731690052f41f1660c66158047230a4198a72e13ca9
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Tokio Runtime::Builder disables time and IO drivers by default, time::pause requires current_thread runtime, and TOKIO_WORKER_THREADS=0 panics multi-thread builds HOW
- 패키지
- tokio 1.43.0
- 환경
- rust
- 생성일
- 2026-08-16T06:47:46Z
컨트랙트
- assert tokio::runtime::Builder defaults to disabled timer and panics when calling sleep or timeout without enable_time or enable_all
- assert tokio::runtime::Builder defaults to disabled IO driver and panics when binding TcpListener without enable_io or enable_all
- assert tokio::time::pause panics when called on multi_thread runtime even with enable_time
- assert tokio::time::pause on current_thread runtime with enable_time enables instant virtual time advance
- assert tokio::runtime::Builder::enable_all enables both time and net operations successfully
- assert TOKIO_WORKER_THREADS=0 causes multi_thread runtime build to panic unless explicitly overridden by Builder::worker_threads
파일
- 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