MCPcopy Index your code
hub / github.com/RustPython/RustPython / _sigfpe

Function _sigfpe

crates/stdlib/src/faulthandler.rs:1237–1246  ·  view source on GitHub ↗
(_vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1235
1236 #[pyfunction]
1237 fn _sigfpe(_vm: &VirtualMachine) {
1238 #[cfg(not(target_arch = "wasm32"))]
1239 {
1240 suppress_crash_report();
1241
1242 unsafe {
1243 libc::raise(libc::SIGFPE);
1244 }
1245 }
1246 }
1247
1248 #[pyfunction]
1249 fn _fatal_error_c_thread() {

Callers

nothing calls this directly

Calls 1

suppress_crash_reportFunction · 0.85

Tested by

no test coverage detected