std::intrinsics::miri_start_panic - Rust
Description: API documentation for the Rust `miri_start_panic` fn in crate `std`.
Keywords: rust, rustlang, rust-lang, miri_start_panic

# [−][src]Function std::intrinsics::miri_start_panic

    pub unsafe extern "rust-intrinsic" fn miri_start_panic(payload: *mut u8) -> !

🔬 This is a nightly-only experimental API. (`core_intrinsics`)

intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library

Internal hook used by Miri to implement unwinding. ICEs when encountered during non-Miri codegen.

The `payload` ptr here will be exactly the one `do_catch` gets passed by `try`.

Perma-unstable: do not use.