#debug #unreachable #debugging #rest

debug_unreachable

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

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
Download history 65455/week @ 2022-10-08 71824/week @ 2022-10-15 30796/week @ 2022-10-22 11733/week @ 2022-10-29 7621/week @ 2022-11-05 6593/week @ 2022-11-12 7137/week @ 2022-11-19 7417/week @ 2022-11-26 6342/week @ 2022-12-03 6549/week @ 2022-12-10 6200/week @ 2022-12-17 4394/week @ 2022-12-24 5581/week @ 2022-12-31 6302/week @ 2023-01-07 6621/week @ 2023-01-14 5952/week @ 2023-01-21

25,052 downloads per month
Used in 86 crates (3 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