#panic #no-std

no-std panicking

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

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

Download history 99/week @ 2023-07-19 84/week @ 2023-07-26 47/week @ 2023-08-02 61/week @ 2023-08-09 73/week @ 2023-08-16 345/week @ 2023-08-23 467/week @ 2023-08-30 475/week @ 2023-09-06 461/week @ 2023-09-13 676/week @ 2023-09-20 584/week @ 2023-09-27 530/week @ 2023-10-04 457/week @ 2023-10-11 455/week @ 2023-10-18 461/week @ 2023-10-25 439/week @ 2023-11-01

1,901 downloads per month
Used in 9 crates

MIT/Apache

8KB
110 lines

maintenance: actively developed

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 make panicking always return false.

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.

No runtime deps

Features