Function core::arch::wasm64::unreachable

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

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.