Make always-assert crate reusable

This commit is contained in:
Aleksey Kladov 2021-01-26 22:11:12 +03:00
parent 2664aee8e5
commit d35bda6429
11 changed files with 24 additions and 73 deletions

View file

@ -4,7 +4,7 @@ use std::{cmp::Ordering, ops, process, time::Instant};
mod macros;
pub mod panic_context;
pub use crate::macros::{on_assert_failure, set_assert_hook};
pub use always_assert::{always, never};
#[inline(always)]
pub fn is_ci() -> bool {