core::arch::wasm64

Function 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.