Skip to main content

test_break_enforceable

Function test_break_enforceable 

Source
pub(crate) fn test_break_enforceable(kind: BreakKind, s: &Settings) -> bool
Expand description

Mirrors the enforceability rule used by the scheduler’s normal break-firing paths in run_loop.rs: micro/long obey their own *_enforceable flag OR strict_mode, while sleep is always enforceable.