core::arch::wasm64

Function unreachable

source
pub fn unreachable() -> !
🔬This is a nightly-only experimental API. (simd_wasm64 #90599)
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.