#8411·tokio

Properly handle `fs` and `io-std` under emscripten

Author: DarksonnCreated Sep 5, 2026Updated Sep 7, 2026
LabelsA-tokioM-fsM-ioT-wasm

The emscripten target may currently block the thread when tokio::fs or tokio::io::stdin is used on emscripten if threads are not supported.

This should be resolved, probably either by using a different set of native emscripten APIs that are async, or by restricting these APIs to emscripten with pthreads.