async-std icon indicating copy to clipboard operation
async-std copied to clipboard

Unable to use `async_std::stream::interval` on `wasm32-unknown-unknown` target

Open azriel91 opened this issue 4 years ago • 1 comments

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).

azriel91 avatar May 15 '20 08:05 azriel91

this should be possible on master, can you recheck please?

dignifiedquire avatar Sep 16 '20 09:09 dignifiedquire