core::arch::wasm

Function unreachable

1.37.0 ยท source
pub fn unreachable() -> !
Available on 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.