Skip to main content

fault_outside_guards

Function fault_outside_guards 

Source
pub fn fault_outside_guards()
Expand description

Fault outside every guard region, by reading a page that is mapped without access, so that the end-to-end test sees the handler hand the fault on; only in builds with debug_assertions, which tests use and release builds lack. It returns only when the page cannot be mapped.