Crates.io | mavryk-smart-rollup-panic-hook |
lib.rs | mavryk-smart-rollup-panic-hook |
version | 0.2.2 |
source | src |
created_at | 2024-07-30 09:43:24.765299 |
updated_at | 2024-07-30 09:43:24.765299 |
description | Hook for capturing kernel panics & printing to debug log. |
homepage | |
repository | https://gitlab.com/mavryk-network/mavryk-protocol.git |
max_upload_size | |
id | 1319610 |
size | 4,310 |
The panic hook may be used to capture kernel panics, and write them to the debug log. Execution is then aborted, to ensure no further issues could arise.
To disable execution abortion (which prevents panic unwinding) disable the abort
feature flag.
To prevent writing the panic info to the debug log (which requires an allocator for formatting) disable the debug
feature flag.