Skip to content

kaiostech/breakpad-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

breakpad-sys

Overview

rust wrapper for google breakpad

Build

host compile:

  • cargo build

cross compile for arm:

  • GONK_DIR=[gonk/dir/path] cargo build --target=armv7-linux-androideabi

Example

initialize exception handler for crash signal and panic handler for rust panic:

use breakpad_sys::{init_breakpad, write_minidump};
use std::panic;

let exception_handler = init_breakpad("minidump_path".into());
// Write minidump while panic
panic::set_hook(Box::new(move |_| {
	write_minidump(exception_handler);
}));

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published