| Crates.io | debug_panic |
| lib.rs | debug_panic |
| version | 0.2.1 |
| created_at | 2018-11-21 11:43:42.600044+00 |
| updated_at | 2020-02-10 17:38:07.395052+00 |
| description | 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. |
| homepage | |
| repository | https://github.com/kellytk/debug_panic |
| max_upload_size | |
| id | 97933 |
| size | 3,866 |
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.
// panic
debug_panic!();
// panic with a custom message
debug_panic!("panic");