Registry / utility / panicking

panicking

JSON →
library0.7.0rscratesunverified

Provides a `std::thread::panicking` analog available in the `no_std` context.

# Cargo.toml [dependencies] panicking = "0.7.0"
INSTALL
IMPORT
SIG · PANICKING
P
panicking
utilityrustv0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

panicking
use panicking::panicking;

Checks if the current thread is unwinding due to a panic.

use panicking::panicking; fn main() { println!("Is panicking: {}", panicking()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
panicking — cargo add panicking · libregistry