#debugging #unreachable #assert #debug-builds #boom

mines

Unchecked assertions of unreachability which panics on debug builds

4 releases

Uses old Rust 2015

0.2.1 May 31, 2017
0.2.0 May 30, 2017
0.1.1 May 30, 2017
0.1.0 May 30, 2017

#10 in #unreachable

MIT/Apache

4KB
72 lines

mines

A crate providing code that must never be reached!

Note that there exists many alternatives to this crate:

I just wanted shorter names for the functions provided by them.


lib.rs:

A crate to help you set up explosive mines that go BOOM!

All functions and methods in this crate will panic in debug build, and causes undefined behavior in release build.

No runtime deps