macro_rules! kassert {
($cond:expr $(,)?) => { ... };
($cond:expr, $($arg:tt)+) => { ... };
}Expand description
Kernel assertion.
In enabled builds, panics if $cond is false.
macro_rules! kassert {
($cond:expr $(,)?) => { ... };
($cond:expr, $($arg:tt)+) => { ... };
}Kernel assertion.
In enabled builds, panics if $cond is false.