inconceivable

Crates.ioinconceivable
lib.rsinconceivable
version0.9.0
sourcesrc
created_at2020-01-31 23:35:30.808291
updated_at2020-01-31 23:35:30.808291
description`inconceivable!` is a macro which closely parallels `std::unreachable`, or `std::panic`. The primary difference is that when this crate is configured with the `ub_inconceivable` option it will emit the `core::hint::unreachable_unchecked` to hint for the compiler to understand a condition should never occur. Generally compiler(s) (the LLVM) assume UB won't happen. This macro offers the "best of both worlds", it provides a solid way of asserting/testing behavior in local builds, but also a way of stripping branches out of final release builds. Please Note: This crate is created purely to inject undefined behavior into stable, safe rust. Systematic usage is unwise, and not recommended.
homepagehttps://github.com/valarauca/inconceivable
repositoryhttps://github.com/valarauca/inconceivable
max_upload_size
id203802
size10,034
Cody Laeder (valarauca)

documentation

https://github.com/valarauca/inconceivable

README

Commit count: 4

cargo fmt