utils/multithreading/mod.rs
1//! Multithreading helpers.
2
3#[cfg(feature = "scoped-tasks")]
4pub mod scoped_tasks;
5
6#[cfg_attr(
7 all(target_family = "wasm", feature = "wasm-multithreading"),
8 path = "impl_wasm_scoped.rs"
9)]
10#[cfg_attr(
11 all(target_family = "wasm", not(feature = "wasm-multithreading")),
12 path = "impl_wasm_stub.rs"
13)]
14#[cfg_attr(not(target_family = "wasm"), path = "impl_native.rs")]
15mod multithreading_impl;
16pub use multithreading_impl::*;