Skip to main content

report_faults

Function report_faults 

Source
pub fn report_faults()
Expand description

Prints the code and module of a crash to stderr before the process dies (Windows only).

On Windows a fault in a GPU driver ends the process with no line from anyone, and this installs the exception filter that names it. On every other platform it does nothing. Gpu::new calls it, so a runner rarely needs to.