Clarify network and test execution contracts
CI / checks (pull_request) Successful in 4m30s
Agents / bot (pull_request) Successful in 6m20s

This commit is contained in:
Danny Kim
2026-09-30 19:31:54 +09:00
parent 179c17a337
commit a3175ded3a
4 changed files with 18 additions and 14 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
//! Native test transport. Guest calls run only inside `spawn_blocking`;
//! production WASM always uses the host's sockets and network policy.
//! Native test transport for the generated synchronous `Guest` API. It cannot
//! await a Tokio socket, so tests confine it to `spawn_blocking` while their FTP
//! server remains async. Production WASM always uses the host's async sockets.
use std::cell::RefCell;
use std::io::{Read, Write};