Function core::arch::wasm32::unreachable 1.37.0[−][src]
pub fn unreachable() -> !This is supported on (non-crate feature
miri-test-libstd or test or doctest) and WebAssembly only.Expand description
Generates the unreachable instruction, which causes an unconditional trap.
This function is safe to call and immediately aborts the execution.