#panic #no-std #context #analog #thread #abort #return

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

#1996 in Rust patterns

Download history 190/week @ 2023-12-07 190/week @ 2023-12-14 200/week @ 2023-12-21 158/week @ 2023-12-28 190/week @ 2024-01-04 127/week @ 2024-01-11 13/week @ 2024-01-18 6/week @ 2024-02-01 195/week @ 2024-02-08 219/week @ 2024-02-15 286/week @ 2024-02-22 190/week @ 2024-02-29 300/week @ 2024-03-07 192/week @ 2024-03-14 247/week @ 2024-03-21

1,040 downloads per month
Used in 10 crates (9 directly)

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