Function core::arch::wasm32::unreachable

1.37.0 · source ·
pub fn unreachable() -> !
Available on WebAssembly and target_family="wasm" only.
Expand description

Generates the unreachable instruction, which causes an unconditional trap.

This function is safe to call and immediately aborts the execution.