#unreachable #author

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

#8 in #unreachable

Download history 3417/week @ 2025-12-06 1717/week @ 2025-12-13 2011/week @ 2025-12-20 1943/week @ 2025-12-27 2226/week @ 2026-01-03 1226/week @ 2026-01-10 1858/week @ 2026-01-17 2156/week @ 2026-01-24 3021/week @ 2026-01-31 3935/week @ 2026-02-07 4294/week @ 2026-02-14 4439/week @ 2026-02-21 7987/week @ 2026-02-28 9608/week @ 2026-03-07 15848/week @ 2026-03-14 13724/week @ 2026-03-21

47,607 downloads per month
Used in 78 crates (2 directly)

MIT license

2KB

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


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

Dependencies

~11KB