Function mozjs_sys::install_rust_hooks

source ·
#[no_mangle]
pub extern "C" fn install_rust_hooks()
Expand description

Configure a panic hook to redirect rust panics to MFBT’s MOZ_Crash. See https://searchfox.org/mozilla-esr115/source/mozglue/static/rust/lib.rs#106