mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
This adds initial, unstable, support for the wasm32-wasi target. Not all of Tokio's features are supported yet as WASI's non-blocking APIs are still limited. Refs: tokio-rs/tokio#4827
13 lines
316 B
Rust
13 lines
316 B
Rust
//! Extra utilities for spawning tasks
|
|
|
|
#[cfg(tokio_unstable)]
|
|
mod join_map;
|
|
#[cfg(not(target_os = "wasi"))]
|
|
mod spawn_pinned;
|
|
#[cfg(not(target_os = "wasi"))]
|
|
pub use spawn_pinned::LocalPoolHandle;
|
|
|
|
#[cfg(tokio_unstable)]
|
|
#[cfg_attr(docsrs, doc(cfg(all(tokio_unstable, feature = "rt"))))]
|
|
pub use join_map::JoinMap;
|