Function core::arch::wasm::unreachable

1.37.0· source[]
pub fn unreachable() -> !
This is supported 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.