Function sentry_contrib_native_sys::options_set_handler_path[][src]

pub unsafe extern "C" fn options_set_handler_path(
    opts: *mut Options,
    path: *const c_char
)

Sets the path to the crashpad handler if the crashpad backend is used.

The path defaults to the crashpad_handler/crashpad_handler.exe executable, depending on platform, which is expected to be present in the same directory as the app executable.

It is recommended that library users set an explicit handler path, depending on the directory/executable structure of their app.

path is assumed to be in platform-specific filesystem path encoding. API Users on windows are encouraged to use sentry_options_set_handler_pathw instead.