使用旧 Rust 2015
|
0.1.1
| 2016 年 3 月 5 日 |
|
0.1.0
| 2016 年 2 月 16 日 |
|
0.0.6
| 2015 年 7 月 20 日 |
|
0.0.5
| 2015 年 6 月 2 日 |
|
0.0.2
| 2014 年 12 月 3 日 |
#10 in #unreachable
2,843 每月下载量
用于 81 个 crate (2 直接)
debug_unreachable
在调试模式下使用 unreachable!(),在发布版本中使用 std::intrinsics::unreachable()
用法
使用 crates.io 存储库;将其添加到您的 Cargo.toml 文件中,与您的其他依赖项一起
[dependencies]
debug_unreachable = "0.1"
作者
Jonathan Reem 是 debug-unreachable 的主要作者和维护者。
许可证
MIT
panic!() 用于调试构建,发布版本中的优化提示。