pub fn unreachable() -> !
🔬This is a nightly-only experimental API. (
simd_wasm64
#90599)Available on WebAssembly only.
Expand description
Generates the unreachable
instruction, which causes an unconditional trap.
This function is safe to call and immediately aborts the execution.