Attribute Macro turbocharger_impl::wasm_only
source · [−]#[wasm_only]
Expand description
Apply this to an item to make it available on the wasm target only.
Only adds #[cfg(target_arch = "wasm32")]
and ensures wasm_bindgen::prelude::*
is available.