8 releases (4 breaking)
0.4.0 | Jul 2, 2022 |
---|---|
0.3.1 | Jun 27, 2022 |
0.2.0 | Jun 5, 2022 |
0.1.2 | Jun 5, 2022 |
0.0.1 | Aug 28, 2021 |
#2558 in Rust patterns
1,901 downloads per month
Used in 9 crates
8KB
110 lines
panicking
Provides a std::thread::panicking
analog available in the no_std
context.
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.
lib.rs
:
Crate features
-
"std"
Enabled by default. Disable to make the library#![no_std]
. -
"abort"
Enable to link the library with the (unstable)panic_abort
standard crate, and makepanicking
always returnfalse
.
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.