debug_panic 0.2.1

This allows a program to terminate immediately and provide feedback to the caller of the program. Unlike panic!, debug_panic! statements are only enabled in non optimized builds by default.
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 3.49 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 459.94 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • kellytk/debug_panic
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kellytk

debug_panic

This allows a program to terminate immediately and provide feedback to the caller of the program. Unlike panic!, debug_panic! statements are only enabled in non optimized builds by default.

Example usage

// panic
debug_panic!();

// panic with a custom message
debug_panic!("panic");