Function context_switch_not_supported

Source
pub fn context_switch_not_supported(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    _target_context_id: u64,
) -> Result<Errno, WasiError>
Expand description

This stub is used for context_switch, when the engine does not support async

It prints a warning and indicates that no context-switching environment is available.