async-std
async-std copied to clipboard
Unable to use `async_std::stream::interval` on `wasm32-unknown-unknown` target
In [email protected]
, async_std::stream::interval
is feature gated by the "unstable"
feature. Enabling that feature brings in smol
, which depends on socket2
, which at this time cannot be compiled for the wasm32-unknown-unknown
target (https://github.com/alexcrichton/socket2-rs/issues/35).
I'm not sure that there's enough people to maintain separate features per item in async-std
, so if we can't stabilize stream::interval
, then this is simply an informative issue while smol
's WASM support is being built (https://github.com/stjepang/smol/issues/87).
this should be possible on master, can you recheck please?