1 unstable release
0.1.0 | Aug 4, 2022 |
---|
#807 in Concurrency
1,632 downloads per month
4KB
71 lines
Thread Local Panic Hook
A simple crate that implements a std::panic::{set_hook, take_hook, update_hook}
drop
in replacements that work per thread.
When target family is wasm
, this crate does nothing and just re-exports the std versions.
lib.rs
:
This crate provides a wrapper around std::panic::{set_hook, take_hook, update_hook}
that work per thread.
When building for a wasm, we just re-export the original methods found in the std library.