Crate panicking

source ·
Expand description

§Feature flags

  • abort — enable to link the library with the (unstable) panic_abort standard crate, and make panicking always return false.
  • std (enabled by default) — disable to make the library #![no_std].

The crate has two features — "abort" and "std", and a final application should enable at least one of them, otherwise a linkage error will be emitted.

Structs§

Functions§

  • Invokes a closure, capturing the cause of an unwinding panic if one occurs.
  • Determines whether the current thread is unwinding because of panic.
  • Triggers a panic without invoking the panic hook.