pub fn set_contained_panic_observer(f: fn())
Register the contained-panic observer. First registration wins; later calls are no-ops (there is one crash reporter per process).