Skip to main content

kassert

Macro kassert 

Source
macro_rules! kassert {
    ($cond:expr $(,)?) => { ... };
    ($cond:expr, $($arg:tt)+) => { ... };
}
Expand description

Kernel assertion.

In enabled builds, panics if $cond is false.