8 releases

Uses old Rust 2015

0.1.1 Mar 5, 2016
0.1.0 Feb 16, 2016
0.0.6 Jul 20, 2015
0.0.5 Jun 2, 2015
0.0.2 Dec 3, 2014

#619 in Debugging

Download history 897/week @ 2023-11-14 955/week @ 2023-11-21 662/week @ 2023-11-28 597/week @ 2023-12-05 846/week @ 2023-12-12 1041/week @ 2023-12-19 758/week @ 2023-12-26 1157/week @ 2024-01-02 3249/week @ 2024-01-09 2453/week @ 2024-01-16 1545/week @ 2024-01-23 569/week @ 2024-01-30 675/week @ 2024-02-06 814/week @ 2024-02-13 875/week @ 2024-02-20 893/week @ 2024-02-27

3,326 downloads per month
Used in 81 crates (2 directly)

MIT license

2KB

debug_unreachable

unreachable!() in debug, std::intrinsics::unreachable() in release.

Documentation

Usage

Use the crates.io repository; add this to your Cargo.toml along with the rest of your dependencies:

[dependencies]
debug_unreachable = "0.1"

Author

Jonathan Reem is the primary author and maintainer of debug-unreachable.

License

MIT


lib.rs:

panic!() in debug builds, optimization hint in release.

Dependencies

~11KB