Skip to main content

set_checks

Function set_checks 

Source
pub fn set_checks(on: bool)
Expand description

Turns test-only checks on or off. With them on, a guard over System aborts with a backtrace where a free or reallocation of a large block passes more bytes than the block holds, and the test harnesses check that held returns to its start after each case.